btrfs: delayed-ref: Use btrfs_ref to refactor btrfs_add_delayed_data_ref()
authorQu Wenruo <wqu@suse.com>
Thu, 4 Apr 2019 06:45:32 +0000 (14:45 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:49 +0000 (19:02 +0200)
commit76675593b69f2fcd57e24d9dd2a9b278f0130d0b
tree271faff3ae7d8fef25ee41db6720899a45e4a375
parented4f255b9bacb774c99ded17647f138c3f61546d
btrfs: delayed-ref: Use btrfs_ref to refactor btrfs_add_delayed_data_ref()

Just like btrfs_add_delayed_tree_ref(), use btrfs_ref to refactor
btrfs_add_delayed_data_ref().

Signed-off-by: Qu Wenruo <wqu@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