FreeBSD: add knlist_init_sx() for exclusive locks

This will be used to implement kqfilter support for zvol cdevs.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: Rob Wing <rew@FreeBSD.org>
Closes #13773
This commit is contained in:
Rob Wing
2022-08-13 21:09:49 -08:00
committed by Brian Behlendorf
parent 11df48ab8b
commit 9d0887402b
3 changed files with 103 additions and 0 deletions
+1
View File
@@ -172,6 +172,7 @@ SRCS+= abd_os.c \
arc_os.c \
crypto_os.c \
dmu_os.c \
event_os.c \
hkdf.c \
kmod_core.c \
spa_os.c \