]> git.ipfire.org Git - people/ms/linux.git/commitdiff
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 0f1df04052a77b3d394987a45f3797a2cd8d30e2..5b8f71aeccc9d42f3577a48eea266f6548d67237 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 e4b9b251a29e560d31ce2ab3b6ab71fdf01eb977..1852ed9de7fd56bf9f0d9b41d96a29e5a3e66cac 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;
 };