mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
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.
This commit is contained in:
parent
135cf6a8ae
commit
a7dc7e5d5a
@ -23,8 +23,6 @@
|
|||||||
* Use is subject to license terms.
|
* Use is subject to license terms.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAVE_ZPL
|
|
||||||
|
|
||||||
#include <sys/refcount.h>
|
#include <sys/refcount.h>
|
||||||
#include <sys/rrwlock.h>
|
#include <sys/rrwlock.h>
|
||||||
|
|
||||||
@ -264,4 +262,3 @@ rrw_held(rrwlock_t *rrl, krw_t rw)
|
|||||||
|
|
||||||
return (held);
|
return (held);
|
||||||
}
|
}
|
||||||
#endif /* HAVE_ZPL */
|
|
||||||
|
Loading…
Reference in New Issue
Block a user