summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_umount.c
diff options
context:
space:
mode:
authorDuane Griffin <duaneg@dghda.com>2008-07-11 23:27:31 (GMT)
committerTheodore Ts'o <tytso@mit.edu>2008-07-11 23:27:31 (GMT)
commit71dc8fbcf5f6363342bd636a646eeac7cfef25c3 (patch)
treee878c1c7e24115ac63d93976f4382280db006ae7 /fs/jfs/jfs_umount.c
parent91ef4caf800030fa6e5224b8a41f8c74787b303d (diff)
downloadlinux-fsl-qoriq-71dc8fbcf5f6363342bd636a646eeac7cfef25c3.tar.xz
ext4: handle deleting corrupted indirect blocks
While freeing indirect blocks we attach a journal head to the parent buffer head, free the blocks, then journal the parent. If the indirect block list is corrupted and points to the parent the journal head will be detached when the block is cleared, causing an OOPS. Check for that explicitly and handle it gracefully. This patch fixes the third case (image hdb.20000057.nullderef.gz) reported in http://bugzilla.kernel.org/show_bug.cgi?id=10882. Signed-off-by: Duane Griffin <duaneg@dghda.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/jfs/jfs_umount.c')
0 files changed, 0 insertions, 0 deletions