Eliminate one case of VI_UNLOCK followed by an immediate
VI_LOCK.
This commit is contained in:
parent
b5155e8fbc
commit
aebbeee812
@ -2220,9 +2220,8 @@ vrele(vp)
|
||||
KASSERT(vp->v_iflag & VI_DOINGINACT,
|
||||
("vrele: lost VI_DOINGINACT"));
|
||||
vp->v_iflag &= ~VI_DOINGINACT;
|
||||
VI_UNLOCK(vp);
|
||||
}
|
||||
VI_LOCK(vp);
|
||||
} else
|
||||
VI_LOCK(vp);
|
||||
if (VSHOULDFREE(vp))
|
||||
vfree(vp);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user