git://git.camperquake.de
/
zfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove inconsistent use of EOPNOTSUPP
[zfs.git]
/
module
/
zfs
/
rrwlock.c
diff --git
a/module/zfs/rrwlock.c
b/module/zfs/rrwlock.c
index
4cef53f
..
8d05d93
100644
(file)
--- a/
module/zfs/rrwlock.c
+++ b/
module/zfs/rrwlock.c
@@
-23,6
+23,8
@@
* Use is subject to license terms.
*/
* Use is subject to license terms.
*/
+#ifdef HAVE_ZPL
+
#include <sys/refcount.h>
#include <sys/rrwlock.h>
#include <sys/refcount.h>
#include <sys/rrwlock.h>
@@
-262,3
+264,4
@@
rrw_held(rrwlock_t *rrl, krw_t rw)
return (held);
}
return (held);
}
+#endif /* HAVE_ZPL */