btrfs: Pass btrfs_delayed_extent_op to alloc_reserved_tree_block
authorNikolay Borisov <nborisov@suse.com>
Mon, 21 May 2018 09:27:22 +0000 (12:27 +0300)
committerDavid Sterba <dsterba@suse.com>
Tue, 29 May 2018 16:12:57 +0000 (18:12 +0200)
commit21ebfbe7e06cafb05c41cc39b058be35acb6c5da
treebddae3bb548e8bf141b100b811d0e4a7362af1ef
parent4e6bd4e0aaf8e00d9ea4472d91252715c4b4bd5d
btrfs: Pass btrfs_delayed_extent_op to alloc_reserved_tree_block

Instead of taking only specific member of this structure, which results
in 2 extra arguments, just take the delayed_extent_op struct and
reference the arguments inside the functions. 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/extent-tree.c