Skip to content

Commit

Permalink
spl-taskq: Make sure thread tsd hash entry is cleared
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
  • Loading branch information
mattmacy committed Jan 24, 2021
1 parent e2870fb commit b692ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/os/linux/spl/spl-taskq.c
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,7 @@ taskq_thread(void *args)
spin_unlock_irqrestore(&tq->tq_lock, flags);

tsd_set(taskq_tsd, NULL);
thread_exit();

return (0);
}
Expand Down

0 comments on commit b692ac7

Please sign in to comment.