summaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_kq.c
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-29 00:17:34 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-05-29 00:17:34 +0000
commit04f22301b1591dc3ad7bd6d58fc5515fbe615cab (patch)
tree707b3295f21abc37b1315e0ba2a8ab3a087a771c /sys/nfs/nfs_kq.c
parenta68a3241a2d1e9f8ae90216909eee955ad98be88 (diff)
Add a name argument to the RWLOCK_INITIALIZER macro.
Pick reasonble names for the locks involved.. ok tedu@, art@
Diffstat (limited to 'sys/nfs/nfs_kq.c')
-rw-r--r--sys/nfs/nfs_kq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_kq.c b/sys/nfs/nfs_kq.c
index f34c134be39..ace011ff805 100644
--- a/sys/nfs/nfs_kq.c
+++ b/sys/nfs/nfs_kq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_kq.c,v 1.6 2007/05/28 21:47:50 thib Exp $ */
+/* $OpenBSD: nfs_kq.c,v 1.7 2007/05/29 00:17:32 thib Exp $ */
/* $NetBSD: nfs_kq.c,v 1.7 2003/10/30 01:43:10 simonb Exp $ */
/*-
@@ -73,7 +73,7 @@ struct kevq {
};
SLIST_HEAD(kevqlist, kevq);
-struct rwlock nfskevq_lock = RWLOCK_INITIALIZER;
+struct rwlock nfskevq_lock = RWLOCK_INITIALIZER("nfskqlk");
static struct proc *pnfskq;
static struct kevqlist kevlist = SLIST_HEAD_INITIALIZER(kevlist);