From a7dc7e5d5a5c4a68266b3d9ce89c6c53c04b1741 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Tue, 7 Dec 2010 16:05:25 -0800 Subject: [PATCH] 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. --- module/zfs/rrwlock.c | 3 --- 1 file changed, 3 deletions(-) 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 */ -- 1.8.3.1