Enable rrwlock.c compilation
authorBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 8 Dec 2010 00:05:25 +0000 (16:05 -0800)
committerBrian 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

index 8d05d93..4cef53f 100644 (file)
@@ -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 */