- 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

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