diff options
| author | Filipe Manana <[email protected]> | 2024-01-25 09:53:06 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-02-09 19:29:14 +0000 |
| commit | 1693d5442c458ae8d5b0d58463b873cd879569ed (patch) | |
| tree | a1730d989c2cb5c86f0ae9e144ac1dc5b5dfe8fe /fs/btrfs/dev-replace.c | |
| parent | btrfs: don't drop extent_map for free space inode on write error (diff) | |
| download | kernel-1693d5442c458ae8d5b0d58463b873cd879569ed.tar.gz kernel-1693d5442c458ae8d5b0d58463b873cd879569ed.zip | |
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 <[email protected]>
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
