aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/rrwlock.h
diff options
context:
space:
mode:
authorOlaf Faaland <[email protected]>2017-02-28 16:10:18 -0800
committerTony Hutter <[email protected]>2017-06-09 14:05:15 -0700
commit626ba3142ba82055e776313f2a3cb9299d96cbb6 (patch)
tree22082baf1eac167ddbe46442a1f4b503890dc754 /include/sys/rrwlock.h
parent0bbd80c05842614cd612e9be7fbdf9cc51f035f2 (diff)
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 <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Olaf Faaland <[email protected]> Closes #5823 Closes #5842
Diffstat (limited to 'include/sys/rrwlock.h')
0 files changed, 0 insertions, 0 deletions