From: Josef Bacik Date: Fri, 5 Nov 2021 20:45:30 +0000 (-0400) Subject: btrfs: remove trans_handle->root X-Git-Tag: block-5.17-2022-01-21~54^2~78 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=7a60751a33d9fdd1e17e77bd379aefe4ede44aa7;p=linux-2.6-block.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 0f1df04052a7..5b8f71aeccc9 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 e4b9b251a29e..1852ed9de7fd 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; };