[PATCH] Make EXT2_DEBUG work again
authorValerie Henson <val_henson@linux.intel.com>
Sun, 25 Jun 2006 12:48:12 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:12 +0000 (10:01 -0700)
commit21730eed11de42f22afcbd43f450a1872a0b5ea1
treef695865bce3b87bbc9e1f0a8e61eaeecf8442b06
parent42225a359aa8094242651191ad0ac9c338503d81
[PATCH] Make EXT2_DEBUG work again

This patch makes EXT2_DEBUG work again.  Due to lack of proper include
file, EXT2_DEBUG was undefined in bitmap.c and ext2_count_free() is left
out.  Moved to balloc.c and removed bitmap.c entirely.

Second, debug versions of ext2_count_free_{inodes/blocks} reacquires
superblock lock.  Moved lock into callers.

Signed-off-by: Val Henson <val_henson@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext2/Makefile
fs/ext2/balloc.c
fs/ext2/bitmap.c [deleted file]
fs/ext2/ialloc.c
fs/ext2/super.c