Skip to content

Commit

Permalink
Zero ->tqent_timer fields in taskq_dispatch_ent()
Browse files Browse the repository at this point in the history
This appears to have been an oversight in the commit that added the
`taskq_dispatch_delay()` extension to the OpenSolaris DDI,
d9acd93.

Signed-off-by: Richard Yao <[email protected]>
  • Loading branch information
ryao committed Nov 22, 2023
1 parent a94860a commit d7eeb12
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions module/os/linux/spl/spl-taskq.c
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ taskq_dispatch_ent(taskq_t *tq, task_func_t func, void *arg, uint_t flags,
t->tqent_func = func;
t->tqent_arg = arg;
t->tqent_taskq = tq;
t->tqent_timer.function = NULL;
t->tqent_timer.expires = 0;

t->tqent_birth = jiffies;
DTRACE_PROBE1(taskq_ent__birth, taskq_ent_t *, t);
Expand Down

0 comments on commit d7eeb12

Please sign in to comment.