summaryrefslogtreecommitdiff
path: root/fs/jbd
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2011-04-27 20:20:44 +0400
committerJan Kara <jack@suse.cz>2011-05-17 15:47:15 +0400
commit86c4f6d85595cd7da635dc6985d27bfa43b1ae10 (patch)
treeef129a2eebdf5cfbecc0ddfbef96b26590242c3d /fs/jbd
parentae54870a1dc978a88377ae8af0780648f2ccd4dc (diff)
downloadlinux-86c4f6d85595cd7da635dc6985d27bfa43b1ae10.tar.xz
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>
Diffstat (limited to 'fs/jbd')
0 files changed, 0 insertions, 0 deletions