commit | b1cdbcb53a6edd84d50b72117d49a350575bbe6a | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Wed Aug 15 10:39:54 2018 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 15 17:23:34 2018 +0200 |
tree | 2feca4dbba95ee7d382768b7ef21bbe630865129 | |
parent | b2fa11547bc1693a8dd8e7379dd4e43d31f49c50 [diff] |
btrfs: Factor out ref head locking code in __btrfs_run_delayed_refs This is in preparation to refactor the giant loop in __btrfs_run_delayed_refs. As a first step define a new function which implements acquiring a reference to a btrfs_delayed_refs_head and use it. 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>