diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/ctree.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index a877105f5c47..285fb7e46106 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -47,24 +47,23 @@ extern struct kmem_cache *btrfs_path_cachep; | |||
47 | /* stores information about which extents are in use, and reference counts */ | 47 | /* stores information about which extents are in use, and reference counts */ |
48 | #define BTRFS_EXTENT_TREE_OBJECTID 2ULL | 48 | #define BTRFS_EXTENT_TREE_OBJECTID 2ULL |
49 | 49 | ||
50 | /* one per subvolume, storing files and directories */ | ||
51 | #define BTRFS_FS_TREE_OBJECTID 3ULL | ||
52 | |||
53 | /* directory objectid inside the root tree */ | ||
54 | #define BTRFS_ROOT_TREE_DIR_OBJECTID 4ULL | ||
55 | |||
56 | |||
57 | /* | 50 | /* |
58 | * chunk tree stores translations from logical -> physical block numbering | 51 | * chunk tree stores translations from logical -> physical block numbering |
59 | * the super block points to the chunk tree | 52 | * the super block points to the chunk tree |
60 | */ | 53 | */ |
61 | #define BTRFS_CHUNK_TREE_OBJECTID 5ULL | 54 | #define BTRFS_CHUNK_TREE_OBJECTID 3ULL |
62 | 55 | ||
63 | /* | 56 | /* |
64 | * stores information about which areas of a given device are in use. | 57 | * stores information about which areas of a given device are in use. |
65 | * one per device. The tree of tree roots points to the device tree | 58 | * one per device. The tree of tree roots points to the device tree |
66 | */ | 59 | */ |
67 | #define BTRFS_DEV_TREE_OBJECTID 6ULL | 60 | #define BTRFS_DEV_TREE_OBJECTID 4ULL |
61 | |||
62 | /* one per subvolume, storing files and directories */ | ||
63 | #define BTRFS_FS_TREE_OBJECTID 5ULL | ||
64 | |||
65 | /* directory objectid inside the root tree */ | ||
66 | #define BTRFS_ROOT_TREE_DIR_OBJECTID 6ULL | ||
68 | 67 | ||
69 | /* | 68 | /* |
70 | * All files have objectids higher than this. | 69 | * All files have objectids higher than this. |