diff options
author | Olaf Faaland <[email protected]> | 2017-02-28 16:10:18 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-28 16:10:18 -0800 |
commit | 4859fe796c5b03687a7b2ab3735b882c4f5cad66 (patch) | |
tree | 197549665cc7fe999404a268da9fc6d44501b308 /config | |
parent | 912e2ba92f45b61df476e7e15da33e0ea3eb0ae5 (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 'config')
0 files changed, 0 insertions, 0 deletions