]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dir_index: error out instead of BUG on corrupt dx dirs
authorEric Sandeen <sandeen@redhat.com>
Wed, 19 Sep 2007 05:46:38 +0000 (22:46 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 19 Sep 2007 18:24:18 +0000 (11:24 -0700)
commit3d82abae9523c33d4a16fdfdfd2bdde316d7b56a
treee0059b667ac7ef765814a2ee9587f9e89015b387
parente67aa27a6179c287983c6c525beb5320f5cd1672
dir_index: error out instead of BUG on corrupt dx dirs

Convert asserts (BUGs) in dx_probe from bad on-disk data to recoverable
errors with helpful warnings.  With help catching other asserts from Duane
Griffin <duaneg@dghda.com>

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Acked-by: Duane Griffin <duaneg@dghda.com>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext3/namei.c
fs/ext4/namei.c