NetBSD/sys/miscfs
hannken 1664eae7f3 Using vfinddev() leads to vnode races as it returns an unreferenced
vnode that may disappear before the caller has a chance to reference it.

Reference the vnode while the specfs cache is locked.

Welcome to 5.99.37.

No objections on tech-kern.
2010-07-21 09:06:37 +00:00
..
deadfs LK_INTERLOCK is no longer a valid flag for VOP_LOCK(). 2010-07-02 07:56:46 +00:00
fdesc Use a kmutex to protect the hash chains and always take this mutex 2010-07-16 10:41:12 +00:00
fifofs Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
genfs LK_INTERLOCK is no longer a valid flag for VOP_LOCK(). This makes 2010-07-02 08:09:51 +00:00
kernfs Using vfinddev() leads to vnode races as it returns an unreferenced 2010-07-21 09:06:37 +00:00
nullfs LK_INTERLOCK is no longer a valid flag for VOP_LOCK(). This makes 2010-07-02 08:09:51 +00:00
overlay Replace vget() with vref()/vn_lock(), this node already has a reference. 2010-07-09 08:10:50 +00:00
procfs Remove vlockmgr(). Generic vnode lock operations now use a rwlock located 2010-07-01 13:00:54 +00:00
specfs Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
syncfs Clean up vnode lock operations pass 2: 2010-06-24 12:58:48 +00:00
umapfs LK_INTERLOCK is no longer a valid flag for VOP_LOCK(). This makes 2010-07-02 08:09:51 +00:00
Makefile Remove the portalfs kernel file system driver. Replace mount_portal(8) 2009-12-05 20:11:01 +00:00