From db9aa81e239bb1c46b3b7ba560474cd954b78bf3 Mon Sep 17 00:00:00 2001 From: jhb Date: Thu, 4 Apr 2002 21:03:38 +0000 Subject: Change callers of mtx_init() to pass in an appropriate lock type name. In most cases NULL is passed, but in some cases such as network driver locks (which use the MTX_NETWORK_LOCK macro) and UMA zone locks, a name is used. Tested on: i386, alpha, sparc64 --- sys/geom/geom_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/geom/geom_io.c') diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index b070448..99e824d 100644 --- a/sys/geom/geom_io.c +++ b/sys/geom/geom_io.c @@ -89,7 +89,7 @@ g_bioq_init(struct g_bioq *bq) { TAILQ_INIT(&bq->bio_queue); - mtx_init(&bq->bio_queue_lock, "bio queue", MTX_DEF); + mtx_init(&bq->bio_queue_lock, "bio queue", NULL, MTX_DEF); } static struct bio * -- cgit v1.1