module: zfs: dsl: pool: shim out dsl_early_sync_task_verify()

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12844
This commit is contained in:
наб 2021-12-21 18:43:49 +01:00 committed by Brian Behlendorf
parent 16a32ce402
commit 89495a427f
1 changed files with 3 additions and 0 deletions

View File

@ -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