Rename refcount.h to zfs_refcount.h

Renamed to avoid conflicting with refcount.h when a different
implementation is already provided by the platform.

Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #10620
This commit is contained in:
Matthew Macy
2020-07-29 16:35:33 -07:00
committed by GitHub
parent 843e9ca2e1
commit 27d96d2254
40 changed files with 28 additions and 40 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ extern "C" {
#define __CONST __sun_attr__((__const__))
#define __PURE __sun_attr__((__pure__))
#ifdef INVARIANTS
#if defined(INVARIANTS) && !defined(ZFS_DEBUG)
#define ZFS_DEBUG
#undef NDEBUG
#endif
-1
View File
@@ -30,7 +30,6 @@
#define _OPENSOLARIS_SYS_FILE_H_
#include <sys/refcount.h>
#include_next <sys/refcount.h>
#include_next <sys/file.h>
#define FKIOCTL 0x80000000 /* ioctl addresses are from kernel */
+1 -1
View File
@@ -53,7 +53,7 @@ enum symfollow { NO_FOLLOW = NOFOLLOW };
#include <sys/mount.h>
#include <sys/cred.h>
#include <sys/fcntl.h>
#include_next <sys/refcount.h>
#include <sys/refcount.h>
#include <sys/file.h>
#include <sys/filedesc.h>
#include <sys/syscallsubr.h>