]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: remove no longer used member num_dirty_bgs from transaction
authorFilipe Manana <fdmanana@suse.com>
Mon, 15 Apr 2019 08:29:19 +0000 (09:29 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:43 +0000 (19:02 +0200)
commit820be138d90b9b245b9c53d6a497435cb53b28c7
tree765c72e2bebebc39905097a796e8441bc67d748d
parente6eca5b2e3a95e0e4e8f76d5f897be49d4efebf4
Btrfs: remove no longer used member num_dirty_bgs from transaction

The member num_dirty_bgs of struct btrfs_transaction is not used anymore,
it is set and incremented but nothing reads its value anymore. Its last
read use was removed by commit 26596b68a91b0b ("btrfs: rework
btrfs_check_space_for_delayed_refs"). So just remove that member.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/transaction.c
fs/btrfs/transaction.h