Skip to content
Snippets Groups Projects
Commit bccee8bc authored by Qu Wenruo's avatar Qu Wenruo Committed by Tom Rini
Browse files

fs: btrfs: Crossport struct btrfs_root to ctree.h


Crossport struct btrfs_root to ctree.h from btrfs-progs, with write
related members deleted.

Signed-off-by: default avatarQu Wenruo <wqu@suse.com>
Reviewed-by: default avatarMarek Behún <marek.behun@nic.cz>
parent 207011b8
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,23 @@ enum btrfs_tree_block_status {
BTRFS_TREE_BLOCK_INVALID_OFFSETS,
};
struct btrfs_root {
struct extent_buffer *node;
struct btrfs_root_item root_item;
struct btrfs_key root_key;
struct btrfs_fs_info *fs_info;
u64 objectid;
u64 last_trans;
int ref_cows;
int track_dirty;
u32 type;
u64 last_inode_alloc;
struct rb_node rb_node;
};
struct btrfs_device;
struct btrfs_fs_devices;
struct btrfs_fs_info {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment