summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-11-04 03:31:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-11-04 03:31:16 +0000
commit79451bbeac53e1c4dae0cccf2f20bb21c4bc260b (patch)
tree344170e0a3d3525528f17bc4149c23c742af4371 /sys/kern
parent19e08d952f6fac2e1add94f2c61ddba0a1b67415 (diff)
permit locking on devices
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/spec_vnops.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kern/spec_vnops.c b/sys/kern/spec_vnops.c
index 17ab8bb81e0..7e6d70b0cbd 100644
--- a/sys/kern/spec_vnops.c
+++ b/sys/kern/spec_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spec_vnops.c,v 1.3 1996/05/02 13:20:19 deraadt Exp $ */
+/* $OpenBSD: spec_vnops.c,v 1.4 1996/11/04 03:31:15 deraadt Exp $ */
/* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */
/*
@@ -707,8 +707,9 @@ int
spec_advlock(v)
void *v;
{
+ extern int ufs_advlock __P((void *v));
- return (EOPNOTSUPP);
+ return (ufs_advlock(v));
}
/*