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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/zfs/zcp.c b/module/zfs/zcp.c
index 305d09239..793e0e4f0 100644
--- a/module/zfs/zcp.c
+++ b/module/zfs/zcp.c
@@ -1150,6 +1150,7 @@ zcp_eval(const char *poolname, const char *program, boolean_t sync,
runinfo.zri_outnvl = outnvl;
runinfo.zri_result = 0;
runinfo.zri_cred = CRED();
+ runinfo.zri_proc = curproc;
runinfo.zri_timed_out = B_FALSE;
runinfo.zri_canceled = B_FALSE;
runinfo.zri_sync = sync;