From c682f9b3c2e091f3211ca68585be39f2a2beb8d0 Mon Sep 17 00:00:00 2001 From: Qu Wenruo Date: Tue, 17 Mar 2015 16:59:47 +0800 Subject: [PATCH] btrfs: extent-tree: Use ref_node to replace unneeded parameters in __inc_extent_ref() and __free_extent() __btrfs_inc_extent_ref() and __btrfs_free_extent() have already had too many parameters, but three of them can be extracted from btrfs_delayed_ref_node struct. So use btrfs_delayed_ref_node struct as a single parameter to replace the bytenr/num_byte/no_quota parameters. The real objective of this patch is to allow btrfs_qgroup_record_ref() get the delayed_ref_node in incoming qgroup patches. Other functions calling btrfs_qgroup_record_ref() are not affected since the rest will only add/sub exclusive extents, where node is not used. Signed-off-by: Qu Wenruo Signed-off-by: Chris Mason --- Reading git-format-patch failed