reiserfs: use is_reusable to catch corruption
authorJeff Mahoney <jeffm@suse.com>
Fri, 19 Oct 2007 06:39:24 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:35 +0000 (11:53 -0700)
commitd4c3d19d0c10701459f16c022ea23eff5e127747
treed0128bae0543585e8c1bfce7f3c375842c55b46c
parent8e186e454e871678c01b7eec4da5865111076095
reiserfs: use is_reusable to catch corruption

Build in is_reusable() unconditionally and use it to catch corruption before
it reaches the block freeing paths.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/bitmap.c