summaryrefslogtreecommitdiff
path: root/sys/miscfs/specfs/specdev.h
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1998-08-06 19:35:18 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1998-08-06 19:35:18 +0000
commit89fedd1a8d2624bae7d2310a83d39156079353b6 (patch)
tree85d9d00a998016639251d59ff97e2a4df0bfa685 /sys/miscfs/specfs/specdev.h
parent67f0f9ef8777688f212974c7fd984398c1827902 (diff)
Rename vop_revoke, vn_bwrite, vop_noislocked, vop_nolock, vop_nounlock
to be vop_generic_revoke, vop_generic_bwrite, vop_generic_islocked, vop_generic_lock and vop_generic_unlock. Create vop_generic_abortop and propogate change to all file systems. Fix PR/371. Get rid of locking in NULLFS (should be mostly unnecessary now except for forced unmounts).
Diffstat (limited to 'sys/miscfs/specfs/specdev.h')
-rw-r--r--sys/miscfs/specfs/specdev.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h
index cf8193edee2..2f6db5186f2 100644
--- a/sys/miscfs/specfs/specdev.h
+++ b/sys/miscfs/specfs/specdev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: specdev.h,v 1.6 1997/11/06 05:58:45 csapuntz Exp $ */
+/* $OpenBSD: specdev.h,v 1.7 1998/08/06 19:34:48 csapuntz Exp $ */
/* $NetBSD: specdev.h,v 1.12 1996/02/13 13:13:01 mycroft Exp $ */
/*
@@ -110,9 +110,9 @@ int spec_fsync __P((void *));
#define spec_abortop spec_badop
int spec_inactive __P((void *));
#define spec_reclaim nullop
-#define spec_lock vop_nolock
-#define spec_unlock vop_nounlock
-#define spec_islocked vop_noislocked
+#define spec_lock vop_generic_lock
+#define spec_unlock vop_generic_unlock
+#define spec_islocked vop_generic_islocked
int spec_bmap __P((void *));
int spec_strategy __P((void *));
int spec_print __P((void *));
@@ -124,5 +124,5 @@ int spec_advlock __P((void *));
#define spec_vfree spec_badop
#define spec_truncate nullop
#define spec_update nullop
-#define spec_bwrite vn_bwrite
-#define spec_revoke vop_revoke
+#define spec_bwrite vop_generic_bwrite
+#define spec_revoke vop_generic_revoke