Correctly handle unlock for !MAKEENTRY case, after successfull attempt of
lock upgrade cache shall be unlocked from write. Reported by: Lucius Windschuh <lwindschuh googlemail com> Reviewed by: kan Approved by: re (rwatson)
This commit is contained in:
parent
72034f5548
commit
8f40845151
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196203
@ -416,7 +416,8 @@ cache_lookup(dvp, vpp, cnp)
|
||||
if (dvp->v_cache_dd->nc_flag & NCF_ISDOTDOT)
|
||||
cache_zap(dvp->v_cache_dd);
|
||||
dvp->v_cache_dd = NULL;
|
||||
goto unlock;
|
||||
CACHE_WUNLOCK();
|
||||
return (0);
|
||||
}
|
||||
if (dvp->v_cache_dd->nc_flag & NCF_ISDOTDOT)
|
||||
*vpp = dvp->v_cache_dd->nc_vp;
|
||||
|
Loading…
Reference in New Issue
Block a user