aboutsummaryrefslogtreecommitdiffstats
path: root/fs/quota/quota_tree.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2010-07-12 21:04:31 +0200
committerJan Kara <jack@suse.cz>2010-07-21 16:04:26 +0200
commitf25f624263445785b94f39739a6339ba9ed3275d (patch)
tree8ec38c718b0af19d6e9cbbc9f368c43d7af14b9b /fs/quota/quota_tree.c
parentext3: remove vestiges of nobh support (diff)
downloadlinux-dev-f25f624263445785b94f39739a6339ba9ed3275d.tar.xz
linux-dev-f25f624263445785b94f39739a6339ba9ed3275d.zip
ext3: Avoid filesystem corruption after a crash under heavy delete load
It can happen that ext3_free_branches calls ext3_forget() for an indirect block in an earlier transaction than a transaction in which we clear pointer to this indirect block. Thus if we crash before a transaction clearing the block pointer is committed, we will see indirect block pointing to already freed blocks and complain during orphan list cleanup. The fix is simple: Make sure ext3_forget() is called in the transaction doing block pointer clearing. This is a backport of an ext4 fix by Amir G. <amir73il@users.sourceforge.net> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota/quota_tree.c')
0 files changed, 0 insertions, 0 deletions