diff options
| author | Josef Bacik <[email protected]> | 2018-12-03 15:20:30 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-12-17 13:51:46 +0000 |
| commit | 07c47775f410168c259494ecb8f62cee0a84ec81 (patch) | |
| tree | f55cba26242d2952a7ecf9f1645ecbc6e7d09c15 /fs/btrfs/dev-replace.c | |
| parent | btrfs: add btrfs_delete_ref_head helper (diff) | |
| download | kernel-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
