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.
This commit is contained in:
Konstantin Belousov 2008-02-26 10:10:55 +00:00
parent 18ff731caa
commit e6591b84ff

View file

@ -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;