diff --git a/module/splat/splat-taskq.c b/module/splat/splat-taskq.c index 074af895b2..33e49b2f12 100644 --- a/module/splat/splat-taskq.c +++ b/module/splat/splat-taskq.c @@ -814,10 +814,11 @@ splat_taskq_test6_func(void *arg) spin_lock(&tq_arg->lock); tq_arg->order[tq_arg->flag] = tq_id->id; tq_arg->flag++; + spin_unlock(&tq_arg->lock); + splat_vprint(tq_arg->file, tq_arg->name, "Taskqid %d complete for taskq '%s'\n", tq_id->id, tq_arg->name); - spin_unlock(&tq_arg->lock); } static int