Fix a deadlock which can occur due to a pseudofs vnode not getting unlocked.

Reported by:	Richard Todd <rmtodd@ichotolot.servalan.com>
Reviewed by:	kib
Approved by:	kib
This commit is contained in:
Joe Marcus Clarke 2009-01-09 22:06:48 +00:00
parent 813dd6ae5e
commit 4424c9d053

View File

@ -212,6 +212,7 @@ retry2:
if (vget(vp, LK_EXCLUSIVE | LK_INTERLOCK, curthread) == 0) {
++pfs_vncache_hits;
vgone(*vpp);
vput(*vpp);
*vpp = vp;
cache_purge(vp);
return (0);