summaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2019-04-04 14:45:31 +0800
committerDavid Sterba <dsterba@suse.com>2019-04-29 19:02:48 +0200
commited4f255b9bacb774c99ded17647f138c3f61546d (patch)
tree1763f6b02732a5fc06eae8cca8606bb6763bdd1d /fs/jbd2
parentdd28b6a5aad306c417477db700ed0848c923a31c (diff)
btrfs: delayed-ref: Use btrfs_ref to refactor btrfs_add_delayed_tree_ref()
btrfs_add_delayed_tree_ref() has a longer and longer parameter list, and some callers like btrfs_inc_extent_ref() are using @owner as level for delayed tree ref. Instead of making the parameter list longer, use btrfs_ref to refactor it, so each parameter assignment should be self-explaining without dirty level/owner trick, and provides the basis for later refactoring. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions