summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 7665d79..478ec3b 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -2282,7 +2282,7 @@ static void
vinactive(struct vnode *vp, struct thread *td)
{
- ASSERT_VOP_LOCKED(vp, "vinactive");
+ ASSERT_VOP_ELOCKED(vp, "vinactive");
ASSERT_VI_LOCKED(vp, "vinactive");
VNASSERT((vp->v_iflag & VI_DOINGINACT) == 0, vp,
("vinactive: recursed on VI_DOINGINACT"));
@@ -2439,7 +2439,7 @@ vrecycle(struct vnode *vp, struct thread *td)
{
int recycled;
- ASSERT_VOP_LOCKED(vp, "vrecycle");
+ ASSERT_VOP_ELOCKED(vp, "vrecycle");
recycled = 0;
VI_LOCK(vp);
if (vp->v_usecount == 0) {
@@ -2474,7 +2474,7 @@ vgonel(struct vnode *vp)
struct mount *mp;
CTR1(KTR_VFS, "vgonel: vp %p", vp);
- ASSERT_VOP_LOCKED(vp, "vgonel");
+ ASSERT_VOP_ELOCKED(vp, "vgonel");
ASSERT_VI_LOCKED(vp, "vgonel");
VNASSERT(vp->v_holdcnt, vp,
("vgonel: vp %p has no reference.", vp));
OpenPOWER on IntegriCloud