commit | 3f1be4f9c9dc926c1b96f14f88e91b8b0d1f88fd | [log] [tgz] |
---|---|---|
author | Chao Yu <chao2.yu@samsung.com> | Tue Jul 15 09:38:51 2014 +0800 |
committer | Jan Kara <jack@suse.cz> | Tue Jul 15 22:40:24 2014 +0200 |
tree | 7d0d45c7d2c57c34baa689d78a4534ce5c14213a | |
parent | c7ff48212d3ede34aa41842929a5b3ebf8f5ca4d [diff] |
udf: avoid redundant memcpy when writing data in ICB Valid data within i_size in page cache will be copied to ICB cache when we writeback the page by invoking udf_adinicb_writepage, so the copy in udf_adinicb_write_end is redundant. After we remove the copy, it's better to use simple_write_end directly in udf_adinicb_aops instead of udf_adinicb_write_end. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jan Kara <jack@suse.cz>