FreeBSD: Mark ZFS_MODULE_PARAM_CALL as MPSAFE
ZFS_MODULE_PARAM_CALL handlers implement their own locking if needed and do not require Giant. Reviewed-by: Alexander Motin <mav@FreeBSD.org> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #13756
This commit is contained in:
parent
899355d293
commit
4723eba8c0
|
@ -47,7 +47,7 @@
|
|||
|
||||
#define ZFS_MODULE_PARAM_CALL_IMPL(parent, name, perm, args, desc) \
|
||||
SYSCTL_DECL(parent); \
|
||||
SYSCTL_PROC(parent, OID_AUTO, name, perm | args, desc)
|
||||
SYSCTL_PROC(parent, OID_AUTO, name, CTLFLAG_MPSAFE | perm | args, desc)
|
||||
|
||||
#define ZFS_MODULE_PARAM_CALL( \
|
||||
scope_prefix, name_prefix, name, func, _, perm, desc) \
|
||||
|
|
Loading…
Reference in New Issue