From 3bd23fd78dce7b5e3b76cce5a210a2977e1e05a8 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Thu, 11 Jan 2024 19:43:38 +1100 Subject: [PATCH] freebsd: fix compile for spa_taskq_read/spa_taskq_write params Missed in #15695, backporting #15675. Signed-off-by: Rob Norris --- include/os/freebsd/spl/sys/mod_os.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/os/freebsd/spl/sys/mod_os.h b/include/os/freebsd/spl/sys/mod_os.h index 77ce75ca3f..150e50380d 100644 --- a/include/os/freebsd/spl/sys/mod_os.h +++ b/include/os/freebsd/spl/sys/mod_os.h @@ -91,6 +91,12 @@ #define param_set_max_auto_ashift_args(var) \ CTLTYPE_UINT, NULL, 0, param_set_max_auto_ashift, "IU" +#define spa_taskq_read_param_set_args(var) \ + CTLTYPE_STRING, NULL, 0, spa_taskq_read_param, "A" + +#define spa_taskq_write_param_set_args(var) \ + CTLTYPE_STRING, NULL, 0, spa_taskq_write_param, "A" + #define fletcher_4_param_set_args(var) \ CTLTYPE_STRING, NULL, 0, fletcher_4_param, "A"