btrfs: make btrfs_destroy_delayed_refs use btrfs_delete_ref_head
authorJosef Bacik <josef@toxicpanda.com>
Wed, 21 Nov 2018 19:05:40 +0000 (14:05 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Feb 2019 13:13:25 +0000 (14:13 +0100)
commitfa781cea3d6a2bd5f6c044cb06c608d7eeb6d787
tree56ee64886d14f42e1b0688d1324652730cde66f6
parent3069bd26690a01f1e8280dff9cb019fdf216a4f5
btrfs: make btrfs_destroy_delayed_refs use btrfs_delete_ref_head

Instead of open coding this stuff use the helper instead.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c