Olaf Faaland 4859fe796c Linux 4.11 compat: avoid refcount_t name conflict
Linux 4.11 introduces a new type, refcount_t, which conflicts with the
type of the same name defined within ZFS.

Rename the ZFS type zfs_refcount_t.  Within the ZFS code, use a macro to
cause references to refcount_t to be changed to zfs_refcount_t at
compile time.  This reduces conflicts when later landing OpenZFS
patches.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Olaf Faaland <faaland1@llnl.gov>
Closes #5823 
Closes #5842
2017-02-28 16:10:18 -08:00
..
2016-11-29 14:34:33 -08:00
2017-01-03 11:31:18 -06:00
2014-08-01 14:28:05 -07:00
2016-01-08 15:08:19 -08:00
2016-09-29 15:55:41 -07:00
2016-06-28 13:47:02 -07:00
2017-02-24 13:34:26 -08:00
2014-07-29 10:55:29 -07:00
2013-11-04 11:18:14 -08:00
2013-11-04 11:17:48 -08:00
2017-01-03 11:31:18 -06:00
2014-08-13 10:35:00 -07:00
2016-04-21 09:49:25 -07:00
2016-06-07 09:16:52 -07:00
2014-07-30 09:20:35 -07:00
2016-06-24 13:13:21 -07:00
2016-12-01 16:39:06 -07:00
2016-12-02 16:57:49 -07:00
2015-01-06 16:53:24 -08:00
2017-01-03 11:31:18 -06:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2017-01-03 11:31:18 -06:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2016-11-04 10:46:40 -07:00
2016-05-17 10:40:30 -07:00
2016-11-04 10:46:40 -07:00
2016-08-12 10:30:16 -07:00
2016-12-12 10:46:26 -08:00