artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d51e914
)
vnode: deadfs: do not call v_op->vop_lock directly, use VOP_LOCK() wrapper
author
semarie
<semarie@openbsd.org>
Tue, 19 Oct 2021 06:09:39 +0000
(06:09 +0000)
committer
semarie
<semarie@openbsd.org>
Tue, 19 Oct 2021 06:09:39 +0000
(06:09 +0000)
ok mpi@ visa@ (as part of larger diff)
sys/miscfs/deadfs/dead_vnops.c
patch
|
blob
|
history
diff --git
a/sys/miscfs/deadfs/dead_vnops.c
b/sys/miscfs/deadfs/dead_vnops.c
index
7c65053
..
b197bc0
100644
(file)
--- a/
sys/miscfs/deadfs/dead_vnops.c
+++ b/
sys/miscfs/deadfs/dead_vnops.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: dead_vnops.c,v 1.3
7 2021/10/15 06:30:06
semarie Exp $ */
+/* $OpenBSD: dead_vnops.c,v 1.3
8 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
);
}
/*