Qu Wenruo
c682f9b3c2
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 <quwenruo@cn.fujitsu.com >
Signed-off-by: Chris Mason <clm@fb.com >
2015-06-10 09:25:18 -07:00
..
2015-04-13 07:52:44 -07:00
2014-06-09 17:20:42 -07:00
2015-06-10 07:04:52 -07:00
2015-06-10 07:04:52 -07:00
2015-06-10 09:25:03 -07:00
2015-01-14 19:23:47 +01:00
2015-03-26 17:56:23 -07:00
2015-03-25 10:52:48 -07:00
2013-11-24 16:33:41 -07:00
2015-03-25 10:52:48 -07:00
2015-02-16 18:48:44 +01:00
2015-06-03 04:03:08 -07:00
2015-06-10 07:04:52 -07:00
2015-04-26 06:27:03 -07:00
2014-01-28 13:20:09 -08:00
2015-06-10 09:25:09 -07:00
2015-06-10 09:25:03 -07:00
2015-03-03 17:23:57 +01:00
2012-12-12 17:15:41 -05:00
2014-11-20 17:20:07 -08:00
2015-06-10 09:25:03 -07:00
2015-02-16 18:48:43 +01:00
2015-04-15 15:06:57 -04:00
2008-09-25 11:04:06 -04:00
2015-06-03 04:03:03 -07:00
2015-02-16 18:48:44 +01:00
2014-11-21 11:59:54 -08:00
2014-06-19 14:20:55 -07:00
2015-06-10 09:25:18 -07:00
2015-03-25 10:52:48 -07:00
2015-06-10 07:02:43 -07:00
2015-06-02 19:34:34 -07:00
2015-04-10 14:07:22 -07:00
2014-10-14 10:51:22 +02:00
2014-01-28 13:20:31 -08:00
2015-01-21 18:02:05 -08:00
2015-04-10 14:07:22 -07:00
2011-04-25 16:46:11 +08:00
2015-06-03 04:03:09 -07:00
2015-06-10 07:02:50 -07:00
2015-01-06 11:04:29 -08:00
2014-11-19 10:34:35 -08:00
2014-11-19 10:34:35 -08:00
2015-02-16 18:48:44 +01:00
2014-06-09 17:20:49 -07:00
2015-03-03 17:23:57 +01:00
2015-06-10 07:02:44 -07:00
2015-06-10 07:02:43 -07:00
2014-09-17 13:37:12 -07:00
2014-10-02 17:14:50 +02:00
2013-05-06 15:55:23 -04:00
2015-02-16 18:48:44 +01:00
2014-01-28 13:20:24 -08:00
2015-06-10 09:25:13 -07:00
2015-04-13 07:52:50 -07:00
2015-03-25 10:52:48 -07:00
2015-01-21 18:06:47 -08:00
2012-06-14 21:29:16 -04:00
2015-01-21 18:06:48 -08:00
2015-06-03 04:03:08 -07:00
2014-06-09 17:20:40 -07:00
2015-06-10 07:04:52 -07:00
2015-06-10 07:02:41 -07:00
2013-05-06 15:55:23 -04:00
2012-07-23 16:28:06 -04:00
2015-06-03 04:03:02 -07:00
2015-02-16 18:48:44 +01:00
2015-03-03 17:24:02 +01:00
2015-06-03 04:03:04 -07:00
2015-06-03 04:03:04 -07:00
2015-06-02 19:34:33 -07:00
2015-06-03 04:03:06 -07:00
2015-03-26 17:56:23 -07:00
2014-01-29 07:06:27 -08:00
2014-08-15 07:43:19 -07:00
2014-09-17 13:38:02 -07:00
2015-06-10 07:02:46 -07:00
2015-02-16 18:48:45 +01:00
2015-04-26 17:22:07 -07:00
2014-01-25 23:58:18 -05:00
2015-02-16 18:48:44 +01:00