Commit 7a60751a authored by Josef Bacik's avatar Josef Bacik Committed by David Sterba

btrfs: remove trans_handle->root

Nobody is using this anymore, remove it.
Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 2e4e97ab
...@@ -698,7 +698,6 @@ start_transaction(struct btrfs_root *root, unsigned int num_items, ...@@ -698,7 +698,6 @@ start_transaction(struct btrfs_root *root, unsigned int num_items,
h->transid = cur_trans->transid; h->transid = cur_trans->transid;
h->transaction = cur_trans; h->transaction = cur_trans;
h->root = root;
refcount_set(&h->use_count, 1); refcount_set(&h->use_count, 1);
h->fs_info = root->fs_info; h->fs_info = root->fs_info;
......
...@@ -135,7 +135,6 @@ struct btrfs_trans_handle { ...@@ -135,7 +135,6 @@ struct btrfs_trans_handle {
bool removing_chunk; bool removing_chunk;
bool reloc_reserved; bool reloc_reserved;
bool in_fsync; bool in_fsync;
struct btrfs_root *root;
struct btrfs_fs_info *fs_info; struct btrfs_fs_info *fs_info;
struct list_head new_bgs; struct list_head new_bgs;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment