Do NOT unlock dvp if LOCKPARENT && vp == dvp. Does not affect any code
presently in the tree.
This commit is contained in:
parent
e53ad03a80
commit
2f738aa7b3
@ -181,7 +181,8 @@ NDINIT(ndp, op, flags, segflg, namep, p)
|
||||
_ndp->ni_cnd.cn_flags &= ~HASBUF; \
|
||||
} \
|
||||
if (!(_flags & NDF_NO_DVP_UNLOCK) && \
|
||||
(_ndp->ni_cnd.cn_flags & LOCKPARENT)) \
|
||||
(_ndp->ni_cnd.cn_flags & LOCKPARENT) && \
|
||||
_ndp->ni_dvp != _ndp->ni_vp) \
|
||||
VOP_UNLOCK(_ndp->ni_dvp, 0, _ndp->ni_cnd.cn_proc); \
|
||||
if (!(_flags & NDF_NO_DVP_RELE) && \
|
||||
(_ndp->ni_cnd.cn_flags & (LOCKPARENT|WANTPARENT))) { \
|
||||
|
Loading…
Reference in New Issue
Block a user