mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Upstream: add missing thread_exit()
Undo FreeBSD wrapper for thread_create() added to call thread_exit. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Jorgen Lundman <lundman@lundman.net> Closes #10314
This commit is contained in:
@@ -558,6 +558,8 @@ vdev_initialize_thread(void *arg)
|
||||
vd->vdev_initialize_thread = NULL;
|
||||
cv_broadcast(&vd->vdev_initialize_cv);
|
||||
mutex_exit(&vd->vdev_initialize_lock);
|
||||
|
||||
thread_exit();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user