summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2026-01-15 21:17:35 +0000
committerDavid Sterba <dsterba@suse.com>2026-02-03 07:51:44 +0100
commitc208aa0ef655bb9a3c379510802cadd0df512f0a (patch)
tree7976c9f497f6b4e12edba164435cf89ea25ec1aa /include
parentb322fa5ff1320430d9a8349cb57770a47399b690 (diff)
btrfs: add and use helper to compute the available space for a block group
We have currently three places that compute how much available space a block group has. Add a helper function for this and use it in those places. Reviewed-by: Boris Burkov <boris@bur.io> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Reviewed-by: Qu Wenruo <wqu@suse.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions