1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

- As this is presently the one and only place where duplicate acquires of

the vnode interlock are allowed mark it by passing MTX_DUPOK to this
   lock operation only.

Sponsored by:	Isilon Systems, Inc.
This commit is contained in:
Jeff Roberson 2005-04-22 22:42:44 +00:00
parent ab9707d7e6
commit 7fd2deacb4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145424

View File

@ -530,7 +530,7 @@ null_lock(struct vop_lock_args *ap)
* vop lock.
*/
if (nn != NULL && (lvp = NULLVPTOLOWERVP(vp)) != NULL) {
VI_LOCK(lvp);
VI_LOCK_FLAGS(lvp, MTX_DUPOK);
VI_UNLOCK(vp);
/*
* We have to hold the vnode here to solve a potential