Date: Sun, 28 Jul 1996 12:56:45 +0200 (MET DST) From: "Martin v.Loewis" <loewis@cs.tu-berlin.de> To: freebsd-fs@freebsd.org Subject: VGET question Message-ID: <199607281056.MAA18474@cent.cs.tu-berlin.de>
next in thread | raw e-mail | index | archive | help
I wonder whether VOP_VGET should return the vnode locked. Most filesystems check their hash lists, and if the vnode is there, they'll perform vget(vp,1), thus locking the vnode. If they need a new vnode, they get it from getnewvnode, which returns it unlocked. In all cases I've checked, the vnode is then return unlocked to the caller. So what is the proper behaviour, here? Thanks, Martin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607281056.MAA18474>