]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit74f657d89c6734c260509338e88ad6d5f5a24e1d
tree765c72e2bebebc39905097a796e8441bc67d748d
parent2b584c688bb53d482220712e2f5810a155ec1b74
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 64403612b73a94 ("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