aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/zcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/zcp.c')
-rw-r--r--module/zfs/zcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zcp.c b/module/zfs/zcp.c
index dad09da50..475138621 100644
--- a/module/zfs/zcp.c
+++ b/module/zfs/zcp.c
@@ -1142,7 +1142,7 @@ zcp_eval(const char *poolname, const char *program, boolean_t sync,
if (sync) {
err = dsl_sync_task(poolname, NULL,
- zcp_eval_sync, &evalargs, 0, ZFS_SPACE_CHECK_NONE);
+ zcp_eval_sync, &evalargs, 0, ZFS_SPACE_CHECK_ZCP_EVAL);
if (err != 0)
zcp_pool_error(&evalargs, poolname);
} else {