commit | cb49a87b2a4edb469e4d295eca4b1d106f64083e | [log] [tgz] |
---|---|---|
author | Nikolay Borisov <nborisov@suse.com> | Tue Apr 24 17:18:17 2018 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon May 28 18:07:30 2018 +0200 |
tree | 38581abfb8223188306f135d2bef224591e6706b | |
parent | 891f41cb27cf5036e88053bb0ef688f98fcc945b [diff] |
btrfs: Factor out common delayed refs init code THe majority of the init code for struct btrfs_delayed_ref_node is duplicated in add_delayed_data_ref and add_delayed_tree_ref. Factor out the common bits in init_delayed_ref_common. This function is going to be used in future patches to clean that up. 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>