btrfs: get rid of extent_io_tree::dirty_bytes
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Sep 2022 21:53:45 +0000 (17:53 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Sep 2022 10:28:05 +0000 (12:28 +0200)
commit71528e9e16c7ade3771f5ef9387673580cb2db38
tree2c17931732f3b2d3b39cb3bec962fbd7c18147ed
parent4374d03d21a9577c8536d78a941fba105143769d
btrfs: get rid of extent_io_tree::dirty_bytes

This was used as an optimization for count_range_bits(EXTENT_DIRTY),
which was used by the failed record code.  However this was removed in
this series by patch "btrfs: convert the io_failure_tree to a plain
rb_tree" which was the last user of this optimization.  Remove the
->dirty_bytes as nobody cares anymore.

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/extent-io-tree.c
fs/btrfs/extent-io-tree.h