summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2022-07-15 15:45:22 -0400
committerDavid Sterba <dsterba@suse.com>2022-09-26 12:27:54 +0200
commit9d4b0a129a0d081821f21edccad154f8e2a1b747 (patch)
tree57df28bc1d9da0bcfb834002efa489eb6167d8d7 /fs/btrfs/dev-replace.c
parent2f12741f81af638dfb682dc2f24e6cbb67a37a2e (diff)
downloadlinux-9d4b0a129a0d081821f21edccad154f8e2a1b747.tar.gz
linux-9d4b0a129a0d081821f21edccad154f8e2a1b747.tar.bz2
linux-9d4b0a129a0d081821f21edccad154f8e2a1b747.zip
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 <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions