linux/fs/ext3
Jan Kara 86c4f6d855 ext3: Fix fs corruption when make_indexed_dir() fails
When make_indexed_dir() fails (e.g. because of ENOSPC) after it has allocated
block for index tree root, we did not properly mark all changed buffers dirty.
This lead to only some of these buffers being written out and thus effectively
corrupting the directory.

Fix the issue by marking all changed data dirty even in the error failure case.

CC: stable@kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
2011-05-17 13:47:15 +02:00
..
acl.c
acl.h
balloc.c Fix common misspellings 2011-03-31 11:26:23 -03:00
bitmap.c
dir.c
ext3_jbd.c
file.c
fsync.c
hash.c
ialloc.c
inode.c Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs-2.6 2011-04-08 07:35:17 -07:00
ioctl.c
Kconfig
Makefile
namei.c ext3: Fix fs corruption when make_indexed_dir() fails 2011-05-17 13:47:15 +02:00
namei.h
resize.c Fix common misspellings 2011-03-31 11:26:23 -03:00
super.c Fix common misspellings 2011-03-31 11:26:23 -03:00
symlink.c
xattr_security.c
xattr_trusted.c
xattr_user.c
xattr.c
xattr.h