Revert change 190655 temporarily. It breaks many setups where nullfs is
used and needs to be revisited.
This commit is contained in:
parent
7bf5cfedfb
commit
bb6418cbe3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190697
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user