diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-29 00:17:34 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-29 00:17:34 +0000 |
commit | 04f22301b1591dc3ad7bd6d58fc5515fbe615cab (patch) | |
tree | 707b3295f21abc37b1315e0ba2a8ab3a087a771c /sys/nfs/nfs_node.c | |
parent | a68a3241a2d1e9f8ae90216909eee955ad98be88 (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_node.c')
-rw-r--r-- | sys/nfs/nfs_node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_node.c b/sys/nfs/nfs_node.c index 4dfb5340ffa..6c22ad13751 100644 --- a/sys/nfs/nfs_node.c +++ b/sys/nfs/nfs_node.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_node.c,v 1.33 2007/05/28 21:07:31 thib Exp $ */ +/* $OpenBSD: nfs_node.c,v 1.34 2007/05/29 00:17:33 thib Exp $ */ /* $NetBSD: nfs_node.c,v 1.16 1996/02/18 11:53:42 fvdl Exp $ */ /* @@ -57,7 +57,7 @@ LIST_HEAD(nfsnodehashhead, nfsnode) *nfsnodehashtbl; u_long nfsnodehash; -struct rwlock nfs_hashlock = RWLOCK_INITIALIZER; +struct rwlock nfs_hashlock = RWLOCK_INITIALIZER("nfshshlk"); struct pool nfs_node_pool; |