]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: add btrfs_delete_ref_head helper
authorJosef Bacik <jbacik@fb.com>
Mon, 3 Dec 2018 15:20:29 +0000 (10:20 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 17 Dec 2018 13:51:46 +0000 (14:51 +0100)
commit833d11d2b3d1686acdba9d355a72cf3cfd63b9cf
tree58158397803e1a19f9fb44f8f9b82a696b75c792
parentc81bd03129545caa85ad7ffb90b73b12af854232
btrfs: add btrfs_delete_ref_head helper

We do this dance in cleanup_ref_head and check_ref_cleanup, unify it
into a helper and cleanup the calling functions.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c
fs/btrfs/delayed-ref.h
fs/btrfs/extent-tree.c