diff options
author | Filipe Manana <fdmanana@suse.com> | 2024-01-25 09:53:06 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-02-09 20:29:14 +0100 |
commit | 1693d5442c458ae8d5b0d58463b873cd879569ed (patch) | |
tree | a1730d989c2cb5c86f0ae9e144ac1dc5b5dfe8fe /fs/stack.c | |
parent | 5571e41ec6e56e35f34ae9f5b3a335ef510e0ade (diff) |
btrfs: add and use helper to check if block group is used
Add a helper function to determine if a block group is being used and make
use of it at btrfs_delete_unused_bgs(). This helper will also be used in
future code changes.
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Boris Burkov <boris@bur.io>
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 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions