aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-09-05 15:48:23 +0200
committerBen Hutchings <ben@decadent.org.uk>2012-09-19 15:04:43 +0100
commit0658632e16cba7cd399dd9380ac48531415f46e4 (patch)
tree0dba8fb93c748205e86ff4927743e9272db62f30 /drivers/xen
parent241ee90a69ede9cf9255df1a18036210beeb8adf (diff)
downloadkernel_samsung_smdk4412-0658632e16cba7cd399dd9380ac48531415f46e4.zip
kernel_samsung_smdk4412-0658632e16cba7cd399dd9380ac48531415f46e4.tar.gz
kernel_samsung_smdk4412-0658632e16cba7cd399dd9380ac48531415f46e4.tar.bz2
udf: Fix data corruption for files in ICB
commit 9c2fc0de1a6e638fe58c354a463f544f42a90a09 upstream. When a file is stored in ICB (inode), we overwrite part of the file, and the page containing file's data is not in page cache, we end up corrupting file's data by overwriting them with zeros. The problem is we use simple_write_begin() which simply zeroes parts of the page which are not written to. The problem has been introduced by be021ee4 (udf: convert to new aops). Fix the problem by providing a ->write_begin function which makes the page properly uptodate. Reported-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions