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/fs/cd9660/cd9660_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/fs/cd9660') diff --git a/sys/fs/cd9660/cd9660_node.c b/sys/fs/cd9660/cd9660_node.c index 8371246..e837f76 100644 --- a/sys/fs/cd9660/cd9660_node.c +++ b/sys/fs/cd9660/cd9660_node.c @@ -73,7 +73,7 @@ cd9660_init(vfsp) { isohashtbl = hashinit(desiredvnodes, M_ISOFSMNT, &isohash); - mtx_init(&cd9660_ihash_mtx, "cd9660_ihash", MTX_DEF); + mtx_init(&cd9660_ihash_mtx, "cd9660_ihash", NULL, MTX_DEF); return (0); } -- cgit v1.1