]> git.proxmox.com Git - mirror_zfs.git/commit
Linux 4.11 compat: avoid refcount_t name conflict
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 8 Feb 2018 22:31:08 +0000 (14:31 -0800)
committerTony Hutter <hutter2@llnl.gov>
Wed, 14 Mar 2018 23:10:36 +0000 (16:10 -0700)
commit3713b7333532f221733f7b74189d996359ed4311
tree656169e3f28c8ac6f5cda5c4d2745191f0aed752
parent310e63dfd18f59ad583631dfa2f55d40cedf1415
Linux 4.11 compat: avoid refcount_t name conflict

Related to commit 4859fe796, when directly using the kernel's
refcount functions in kernel compatibility code do not map
refcount_t to zfs_refcount_t.  This leads to a type mismatch.

Longer term we should consider renaming refcount_t to
zfs_refcount_t in the zfs code base.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Chunwei Chen <david.chen@nutanix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7148
include/linux/vfs_compat.h