From e6591b84ff0ec750a2f8ad7f2013b6ebd8a5a4b4 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Tue, 26 Feb 2008 10:10:55 +0000 Subject: [PATCH] Rename fdescfs vnode from "fdesc" to "fdescfs" to avoid name collision of the vnode lock with the fdesc_mtx mutex. Having different kinds of locks with the same name confuses witness. --- sys/fs/fdescfs/fdesc_vnops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c index 8a283cddcc9..44b7310d3d2 100644 --- a/sys/fs/fdescfs/fdesc_vnops.c +++ b/sys/fs/fdescfs/fdesc_vnops.c @@ -141,7 +141,7 @@ loop: */ MALLOC(fd, struct fdescnode *, sizeof(struct fdescnode), M_TEMP, M_WAITOK); - error = getnewvnode("fdesc", mp, &fdesc_vnodeops, vpp); + error = getnewvnode("fdescfs", mp, &fdesc_vnodeops, vpp); if (error) { FREE(fd, M_TEMP); goto out;