aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index f8fccdac3055..eeb5afa6e9b1 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -42,7 +42,11 @@ struct btrfs_ordered_sum;
42 42
43#define BTRFS_MAGIC "_B5RfS_M" 43#define BTRFS_MAGIC "_B5RfS_M"
44 44
45#define BTRFS_MAX_LEVEL 8 45#ifdef CONFIG_LOCKDEP
46# define BTRFS_MAX_LEVEL 7
47#else
48# define BTRFS_MAX_LEVEL 8
49#endif
46 50
47/* holds pointers to all of the tree roots */ 51/* holds pointers to all of the tree roots */
48#define BTRFS_ROOT_TREE_OBJECTID 1ULL 52#define BTRFS_ROOT_TREE_OBJECTID 1ULL