diff options
author | Jan Kara <jack@suse.cz> | 2011-04-27 18:20:44 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2011-05-17 13:47:15 +0200 |
commit | 86c4f6d85595cd7da635dc6985d27bfa43b1ae10 (patch) | |
tree | ef129a2eebdf5cfbecc0ddfbef96b26590242c3d /fs/nfsd/state.h | |
parent | ae54870a1dc978a88377ae8af0780648f2ccd4dc (diff) | |
download | blackbird-op-linux-86c4f6d85595cd7da635dc6985d27bfa43b1ae10.tar.gz blackbird-op-linux-86c4f6d85595cd7da635dc6985d27bfa43b1ae10.zip |
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/nfsd/state.h')
0 files changed, 0 insertions, 0 deletions