]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 26 Sep 2007 17:54:41 +0000 (10:54 -0700)
commitef0f3948e965f20af7426a4f3dca2512578cd379
treedb778ba29c76d35a3aa9b10ec44ad0d135f1d317
parentc82b7176931d2461731e71c4824ed4d7156afc89
dir_index: error out instead of BUG on corrupt dx dirs

commit 3d82abae9523c33d4a16fdfdfd2bdde316d7b56a in mainline.

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>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext3/namei.c
fs/ext4/namei.c