diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-11-04 03:31:16 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-11-04 03:31:16 +0000 |
commit | 79451bbeac53e1c4dae0cccf2f20bb21c4bc260b (patch) | |
tree | 344170e0a3d3525528f17bc4149c23c742af4371 /sys | |
parent | 19e08d952f6fac2e1add94f2c61ddba0a1b67415 (diff) |
permit locking on devices
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/spec_vnops.c | 5 | ||||
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 5 |
2 files changed, 6 insertions, 4 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)); } /* diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 17ab8bb81e0..7e6d70b0cbd 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/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)); } /* |