diff options
author | Josef Bacik <jbacik@fb.com> | 2018-12-03 10:20:30 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-12-17 14:51:46 +0100 |
commit | 07c47775f410168c259494ecb8f62cee0a84ec81 (patch) | |
tree | f55cba26242d2952a7ecf9f1645ecbc6e7d09c15 /fs/btrfs/btrfs_inode.h | |
parent | d7baffdaf9f9df8c9715aa507e3be2f409347c74 (diff) |
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 <osandov@fb.com>
Reviewed-by: Liu Bo <bo.liu@linux.alibaba.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions