summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.h
diff options
context:
space:
mode:
authorAihua Zhang <zhangaihua1@huawei.com>2016-03-13 17:18:12 -0400
committerTheodore Ts'o <tytso@mit.edu>2016-03-13 17:18:12 -0400
commita2821e34df141ac6019552618b57fa09227ff0dd (patch)
treeb6987a42e55f4c5f6123c67653d2d0c83f531128 /fs/ext4/mballoc.h
parent7915a861c01839a05eb7346023741742c4d2135e (diff)
downloadlinux-a2821e34df141ac6019552618b57fa09227ff0dd.tar.gz
linux-a2821e34df141ac6019552618b57fa09227ff0dd.tar.bz2
linux-a2821e34df141ac6019552618b57fa09227ff0dd.zip
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 <zhangaihua1@huawei.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.h')
-rw-r--r--fs/ext4/mballoc.h12
1 files changed, 0 insertions, 12 deletions
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
@@ -23,18 +23,6 @@
#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
extern ushort ext4_mballoc_debug;