vfs: add a missing VNODE_REFCOUNT_FENCE_REL to v_incr_usecount_locked
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e12102f114
commit
c2b600f98f
@ -2641,6 +2641,7 @@ v_incr_usecount_locked(struct vnode *vp)
|
||||
VNASSERT(vp->v_usecount == 0, vp,
|
||||
("vnode with usecount and VI_OWEINACT set"));
|
||||
vp->v_iflag &= ~VI_OWEINACT;
|
||||
VNODE_REFCOUNT_FENCE_REL();
|
||||
}
|
||||
refcount_acquire(&vp->v_usecount);
|
||||
v_incr_devcount(vp);
|
||||
|
Loading…
Reference in New Issue
Block a user