From: Brian Behlendorf Date: Wed, 8 Dec 2010 00:05:25 +0000 (-0800) Subject: Enable rrwlock.c compilation X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=commitdiff_plain;h=a7dc7e5d5a5c4a68266b3d9ce89c6c53c04b1741;p=zfs.git Enable rrwlock.c compilation 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. --- diff --git a/module/zfs/rrwlock.c b/module/zfs/rrwlock.c index 8d05d93..4cef53f 100644 --- a/module/zfs/rrwlock.c +++ b/module/zfs/rrwlock.c @@ -23,8 +23,6 @@ * Use is subject to license terms. */ -#ifdef HAVE_ZPL - #include #include @@ -264,4 +262,3 @@ rrw_held(rrwlock_t *rrl, krw_t rw) return (held); } -#endif /* HAVE_ZPL */