]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Use init_delayed_ref_common in add_delayed_data_ref
authorNikolay Borisov <nborisov@suse.com>
Tue, 24 Apr 2018 14:18:19 +0000 (17:18 +0300)
committerDavid Sterba <dsterba@suse.com>
Mon, 28 May 2018 16:07:31 +0000 (18:07 +0200)
commitca5caa14bd469a95918aef8ca07ac3df73c3a2ce
treed9626b80cfc703848901c58ddfbced9de4dee68a
parentb15c89c44752eedc1c397f78aaa45a735a763ff5
btrfs: Use init_delayed_ref_common in add_delayed_data_ref

Use the newly introduced helper and remove the duplicate code.  No
functional changes.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c