Skip to content
Commit 3f1be4f9 authored by Chao Yu's avatar Chao Yu Committed by Jan Kara
Browse files

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: default avatarChao Yu <chao2.yu@samsung.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent c7ff4821
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment