summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-04-11 08:59:20 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-04-11 08:59:20 -0400
commitcac87faa09f56776602d4b6f15c1bd44f6da300e (patch)
treef50cd58421bf52a9339516974223739aa8afbffd /fs/btrfs/ctree.h
parent2d13d8d065cc7bbee6b1ad6ee3fe965d66badfe6 (diff)
downloadkernel-crypto-cac87faa09f56776602d4b6f15c1bd44f6da300e.tar.gz
kernel-crypto-cac87faa09f56776602d4b6f15c1bd44f6da300e.tar.xz
kernel-crypto-cac87faa09f56776602d4b6f15c1bd44f6da300e.zip
Btrfs: use a dedicated inode num for root root dir
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r--fs/btrfs/ctree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h
index 0ba560f0d2a..3f3a23f52a3 100644
--- a/fs/btrfs/ctree.h
+++ b/fs/btrfs/ctree.h
@@ -15,7 +15,8 @@ extern struct kmem_cache *btrfs_path_cachep;
#define BTRFS_ROOT_TREE_OBJECTID 1ULL
#define BTRFS_EXTENT_TREE_OBJECTID 2ULL
#define BTRFS_FS_TREE_OBJECTID 3ULL
-#define BTRFS_FIRST_FREE_OBJECTID 4ULL
+#define BTRFS_ROOT_TREE_DIR_OBJECTID 4ULL
+#define BTRFS_FIRST_FREE_OBJECTID 5ULL
/*
* we can actually store much bigger names, but lets not confuse the rest