Revert change 190655 temporarily. It breaks many setups where nullfs is

used and needs to be revisited.
This commit is contained in:
Alexander Kabaev 2009-04-04 17:48:38 +00:00
parent 7bf5cfedfb
commit bb6418cbe3

View File

@ -971,7 +971,6 @@ vn_vptocnp(struct vnode **vp, char **bp, char *buf, u_int *buflen)
vdrop(*vp);
VFS_UNLOCK_GIANT(vfslocked);
if (error) {
CACHE_RLOCK();
numfullpathfail2++;
return (error);
}
@ -980,6 +979,7 @@ vn_vptocnp(struct vnode **vp, char **bp, char *buf, u_int *buflen)
CACHE_RLOCK();
if ((*vp)->v_iflag & VI_DOOMED) {
/* forced unmount */
CACHE_RUNLOCK();
vdrop(*vp);
return (ENOENT);
}