diff options
author | Josef Bacik <[email protected]> | 2022-07-15 15:45:22 -0400 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-09-26 12:27:54 +0200 |
commit | 9d4b0a129a0d081821f21edccad154f8e2a1b747 (patch) | |
tree | 57df28bc1d9da0bcfb834002efa489eb6167d8d7 /fs/btrfs/dev-replace.c | |
parent | 2f12741f81af638dfb682dc2f24e6cbb67a37a2e (diff) |
btrfs: simplify arguments of btrfs_update_space_info and rename
This function has grown a bunch of new arguments, and it just boils down
to passing in all the block group fields as arguments. Simplify this by
passing in the block group itself and updating the space_info fields
based on the block group fields directly.
Signed-off-by: Josef Bacik <[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