summaryrefslogtreecommitdiffstats
path: root/sys/geom/bde
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-03-05 22:42:17 +0000
committerjhb <jhb@FreeBSD.org>2004-03-05 22:42:17 +0000
commit2642ed40295455677e7d763f756ee5dd9f0c2673 (patch)
tree0cb8679f9d812640e447455f4abf4169ae910cac /sys/geom/bde
parent6ee273fcd7d5fd22582d9e17e8f6c3a085bb31ca (diff)
downloadFreeBSD-src-2642ed40295455677e7d763f756ee5dd9f0c2673.zip
FreeBSD-src-2642ed40295455677e7d763f756ee5dd9f0c2673.tar.gz
kthread_exit() no longer requires Giant, so don't force callers to acquire
Giant just to call kthread_exit(). Requested by: many
Diffstat (limited to 'sys/geom/bde')
-rw-r--r--sys/geom/bde/g_bde_work.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/bde/g_bde_work.c b/sys/geom/bde/g_bde_work.c
index f486558..f2baef5 100644
--- a/sys/geom/bde/g_bde_work.c
+++ b/sys/geom/bde/g_bde_work.c
@@ -663,7 +663,6 @@ g_bde_worker(void *arg)
mtx_unlock(&sc->worklist_mutex);
sc->dead = 2;
wakeup(sc);
- mtx_lock(&Giant);
kthread_exit(0);
}
OpenPOWER on IntegriCloud