]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In vrele() and vput(), avoid triggering the confusing "missed vn_close"
authorIan Dowse <iedowse@FreeBSD.org>
Fri, 11 May 2001 20:42:41 +0000 (20:42 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Fri, 11 May 2001 20:42:41 +0000 (20:42 +0000)
commit1feb7a6efa0c676a7f2d4916babe126ff7720317
tree0f9a527fb640fc6480f6722be654548308c9d44e
parentfae4825cdff5fa35b52965a77cb20943dfbaecc6
In vrele() and vput(), avoid triggering the confusing "missed vn_close"
KASSERT when vp->v_usecount is zero or negative. In this case, the
"v*: negative ref cnt" panic that follows is much more appropriate.

Reviewed by: mckusick
sys/kern/vfs_subr.c