diff options
author | Sebastien Marie <semarie@cvs.openbsd.org> | 2021-10-19 06:09:40 +0000 |
---|---|---|
committer | Sebastien Marie <semarie@cvs.openbsd.org> | 2021-10-19 06:09:40 +0000 |
commit | 4a7f2afe699910a9a6c87a504079c82b2bc4ef01 (patch) | |
tree | 577dd6014c5e4053a96857e79c24b5f89d8d42df | |
parent | 4501071917fac3390f1f9fbc9159975dbabd7e40 (diff) |
vnode: deadfs: do not call v_op->vop_lock directly, use VOP_LOCK() wrapper
ok mpi@ visa@ (as part of larger diff)
-rw-r--r-- | sys/miscfs/deadfs/dead_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c index 7c650536116..b197bc0b7f5 100644 --- a/sys/miscfs/deadfs/dead_vnops.c +++ b/sys/miscfs/deadfs/dead_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dead_vnops.c,v 1.37 2021/10/15 06:30:06 semarie Exp $ */ +/* $OpenBSD: dead_vnops.c,v 1.38 2021/10/19 06:09:39 semarie Exp $ */ /* $NetBSD: dead_vnops.c,v 1.16 1996/02/13 13:12:48 mycroft Exp $ */ /* @@ -227,7 +227,7 @@ dead_lock(void *v) if (ap->a_flags & LK_DRAIN || !chkvnlock(vp)) return (0); - return ((vp->v_op->vop_lock)(ap)); + return VOP_LOCK(vp, ap->a_flags); } /* |