]> 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)
commit48bbfafd2be63c0a9215d8b2648b96b6f8fdbe1b
treed9626b80cfc703848901c58ddfbced9de4dee68a
parentef00bf484e0132dc168afa618abd4f2627c2ff48
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