From: Josef Bacik Date: Fri, 5 Nov 2021 20:45:30 +0000 (-0400) Subject: btrfs: remove trans_handle->root X-Git-Tag: v5.17-rc1~133^2~78 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a60751a33d9fdd1e17e77bd379aefe4ede44aa7;p=thirdparty%2Flinux.git btrfs: remove trans_handle->root Nobody is using this anymore, remove it. Signed-off-by: Josef Bacik Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 0f1df04052a77..5b8f71aeccc9d 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -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; diff --git a/fs/btrfs/transaction.h b/fs/btrfs/transaction.h index e4b9b251a29e5..1852ed9de7fd5 100644 --- a/fs/btrfs/transaction.h +++ b/fs/btrfs/transaction.h @@ -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; };