From 89495a427fca15dbeda7ae0f6a1b73954c54ca48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 21 Dec 2021 18:43:49 +0100 Subject: [PATCH] module: zfs: dsl: pool: shim out dsl_early_sync_task_verify() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #12844 --- module/zfs/dsl_pool.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/zfs/dsl_pool.c b/module/zfs/dsl_pool.c index 1350f1329..20bae9d94 100644 --- a/module/zfs/dsl_pool.c +++ b/module/zfs/dsl_pool.c @@ -664,6 +664,9 @@ dsl_early_sync_task_verify(dsl_pool_t *dp, uint64_t txg) return (B_TRUE); } +#else +#define dsl_early_sync_task_verify(dp, txg) \ + ((void) sizeof (dp), (void) sizeof (txg), B_TRUE) #endif void