diff options
author | Matthew Macy <[email protected]> | 2020-08-05 10:17:07 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-05 10:17:07 -0700 |
commit | 22dcf89181bdb178173ebc73c1345199acc22860 (patch) | |
tree | aa08f1c03ef7774e868bc6567742baee2910e0f1 /module/zfs/vdev_trim.c | |
parent | 309d20882fbc3c3a870a6c7c58ba95503c12b254 (diff) |
Add missed thread_exit() to vdev_{autotrim,rebuild}_thread
Reviewed-by: Jorgen Lundman <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Co-authored-by: Ryan Moeller <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #10668
Diffstat (limited to 'module/zfs/vdev_trim.c')
-rw-r--r-- | module/zfs/vdev_trim.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/zfs/vdev_trim.c b/module/zfs/vdev_trim.c index a655e2fd2..3f8c34806 100644 --- a/module/zfs/vdev_trim.c +++ b/module/zfs/vdev_trim.c @@ -1411,6 +1411,8 @@ vdev_autotrim_thread(void *arg) vd->vdev_autotrim_thread = NULL; cv_broadcast(&vd->vdev_autotrim_cv); mutex_exit(&vd->vdev_autotrim_lock); + + thread_exit(); } /* |