From a2821e34df141ac6019552618b57fa09227ff0dd Mon Sep 17 00:00:00 2001 From: Aihua Zhang Date: Sun, 13 Mar 2016 17:18:12 -0400 Subject: ext4: fix compile error while opening the macro DOUBLE_CHECK the error is: fs/ext4/mballoc.c:475:43: error: 'struct ext4_group_info' has no member named 'bb_bitmap'. so, the definition of macro DOUBLE_CHECK should before 'struct ext4_group_info', I fixed it, and I moved the macro AGGRESSIVE_CHECK together, because I think they shoule be together. Signed-off-by: Aihua Zhang Signed-off-by: Theodore Ts'o --- fs/ext4/mballoc.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'fs/ext4/mballoc.h') diff --git a/fs/ext4/mballoc.h b/fs/ext4/mballoc.h index d634e183b4d4..3ef1df6ae9ec 100644 --- a/fs/ext4/mballoc.h +++ b/fs/ext4/mballoc.h @@ -22,18 +22,6 @@ #include "ext4_jbd2.h" #include "ext4.h" -/* - * with AGGRESSIVE_CHECK allocator runs consistency checks over - * structures. these checks slow things down a lot - */ -#define AGGRESSIVE_CHECK__ - -/* - * with DOUBLE_CHECK defined mballoc creates persistent in-core - * bitmaps, maintains and uses them to check for double allocations - */ -#define DOUBLE_CHECK__ - /* */ #ifdef CONFIG_EXT4_DEBUG -- cgit v1.2.3-55-g7522