mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54794
@ -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