git://git.camperquake.de
/
zfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
135cf6a
)
Enable rrwlock.c compilation
author
Brian Behlendorf
<behlendorf1@llnl.gov>
Wed, 8 Dec 2010 00:05:25 +0000
(16:05 -0800)
committer
Brian Behlendorf
<behlendorf1@llnl.gov>
Wed, 8 Dec 2010 00:05:25 +0000
(16:05 -0800)
With the addition of the thread specific data interfaces to the
SPL it is safe to enable compilation of the re-enterant read
reader/writer locks.
module/zfs/rrwlock.c
patch
|
blob
|
history
diff --git
a/module/zfs/rrwlock.c
b/module/zfs/rrwlock.c
index
8d05d93
..
4cef53f
100644
(file)
--- a/
module/zfs/rrwlock.c
+++ b/
module/zfs/rrwlock.c
@@
-23,8
+23,6
@@
* Use is subject to license terms.
*/
-#ifdef HAVE_ZPL
-
#include <sys/refcount.h>
#include <sys/rrwlock.h>
@@
-264,4
+262,3
@@
rrw_held(rrwlock_t *rrl, krw_t rw)
return (held);
}
-#endif /* HAVE_ZPL */