Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
e085def2
Commit
e085def2
authored
Mar 24, 2008
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: Make the FS tree the last objectid in the tree of tree roots
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
a9218f6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
fs/btrfs/ctree.h
fs/btrfs/ctree.h
+8
-9
No files found.
fs/btrfs/ctree.h
View file @
e085def2
...
@@ -47,24 +47,23 @@ extern struct kmem_cache *btrfs_path_cachep;
...
@@ -47,24 +47,23 @@ extern struct kmem_cache *btrfs_path_cachep;
/* stores information about which extents are in use, and reference counts */
/* stores information about which extents are in use, and reference counts */
#define BTRFS_EXTENT_TREE_OBJECTID 2ULL
#define BTRFS_EXTENT_TREE_OBJECTID 2ULL
/* one per subvolume, storing files and directories */
#define BTRFS_FS_TREE_OBJECTID 3ULL
/* directory objectid inside the root tree */
#define BTRFS_ROOT_TREE_DIR_OBJECTID 4ULL
/*
/*
* chunk tree stores translations from logical -> physical block numbering
* chunk tree stores translations from logical -> physical block numbering
* the super block points to the chunk tree
* the super block points to the chunk tree
*/
*/
#define BTRFS_CHUNK_TREE_OBJECTID
5
ULL
#define BTRFS_CHUNK_TREE_OBJECTID
3
ULL
/*
/*
* stores information about which areas of a given device are in use.
* stores information about which areas of a given device are in use.
* one per device. The tree of tree roots points to the device tree
* one per device. The tree of tree roots points to the device tree
*/
*/
#define BTRFS_DEV_TREE_OBJECTID 6ULL
#define BTRFS_DEV_TREE_OBJECTID 4ULL
/* one per subvolume, storing files and directories */
#define BTRFS_FS_TREE_OBJECTID 5ULL
/* directory objectid inside the root tree */
#define BTRFS_ROOT_TREE_DIR_OBJECTID 6ULL
/*
/*
* All files have objectids higher than this.
* All files have objectids higher than this.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment