mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue