btrfs: remove trans_handle->root
authorJosef Bacik <josef@toxicpanda.com>
Fri, 5 Nov 2021 20:45:30 +0000 (16:45 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 3 Jan 2022 14:09:47 +0000 (15:09 +0100)
Nobody is using this anymore, remove it.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/transaction.c
fs/btrfs/transaction.h

index 0f1df04..5b8f71a 100644 (file)
@@ -698,7 +698,6 @@ again:
 
        h->transid = cur_trans->transid;
        h->transaction = cur_trans;
-       h->root = root;
        refcount_set(&h->use_count, 1);
        h->fs_info = root->fs_info;
 
index e4b9b25..1852ed9 100644 (file)
@@ -135,7 +135,6 @@ struct btrfs_trans_handle {
        bool removing_chunk;
        bool reloc_reserved;
        bool in_fsync;
-       struct btrfs_root *root;
        struct btrfs_fs_info *fs_info;
        struct list_head new_bgs;
 };