linux/fs/udf
Jan Kara 9c2fc0de1a udf: Fix data corruption for files in ICB
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.

CC: <stable@vger.kernel.org> # >= 2.6.24
Reported-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Jan Kara <jack@suse.cz>
2012-09-05 16:06:03 +02:00
..
Kconfig
Makefile
balloc.c
dir.c
directory.c
ecma_167.h
file.c udf: Fix data corruption for files in ICB 2012-09-05 16:06:03 +02:00
ialloc.c
inode.c udf: fix udf_setsize() for file data in ICB 2012-08-15 00:21:58 +02:00
lowlevel.c
misc.c
namei.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs 2012-07-24 17:40:44 -07:00
osta_udf.h
partition.c
super.c udf: fix retun value on error path in udf_load_logicalvol 2012-08-15 14:23:23 +02:00
symlink.c
truncate.c udf: Do not decrement i_blocks when freeing indirect extent block 2012-07-09 13:24:21 +02:00
udf_i.h
udf_sb.h
udfdecl.h udf: stop using s_dirt 2012-07-09 12:03:11 +02:00
udfend.h
udftime.c
unicode.c