aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2018-12-03 15:20:30 +0000
committerDavid Sterba <[email protected]>2018-12-17 13:51:46 +0000
commit07c47775f410168c259494ecb8f62cee0a84ec81 (patch)
treef55cba26242d2952a7ecf9f1645ecbc6e7d09c15 /fs/btrfs/dev-replace.c
parentbtrfs: add btrfs_delete_ref_head helper (diff)
downloadkernel-07c47775f410168c259494ecb8f62cee0a84ec81.tar.gz
kernel-07c47775f410168c259494ecb8f62cee0a84ec81.zip
btrfs: add cleanup_ref_head_accounting helper
We were missing some quota cleanups in check_ref_cleanup, so break the ref head accounting cleanup into a helper and call that from both check_ref_cleanup and cleanup_ref_head. This will hopefully ensure that we don't screw up accounting in the future for other things that we add. Reviewed-by: Omar Sandoval <[email protected]> Reviewed-by: Liu Bo <[email protected]> Reviewed-by: Nikolay Borisov <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions