summaryrefslogtreecommitdiff
path: root/sys/miscfs/deadfs
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2011-04-05 14:14:08 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2011-04-05 14:14:08 +0000
commit09931756bf164ec239559a8c39bd52706b27241e (patch)
tree21563af8dce4f09f9b4664b7ce6a5d8a9ef5e8fc /sys/miscfs/deadfs
parent7b465dd5593ff7b3f25c30ebff91f4a2c899fbb8 (diff)
Every single vop_default is set to eopnotsupp, so retire it
and return EOPNOTSUPP directly from the VOP_* functions. Filesystems should, at some point fill in every function in the vop_default struct so we can get rid of the 'if' statements in VOP_*.
Diffstat (limited to 'sys/miscfs/deadfs')
-rw-r--r--sys/miscfs/deadfs/dead_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c
index 2c3e9520969..c5b197ac490 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.25 2010/12/21 20:14:43 thib Exp $ */
+/* $OpenBSD: dead_vnops.c,v 1.26 2011/04/05 14:14:07 thib Exp $ */
/* $NetBSD: dead_vnops.c,v 1.16 1996/02/13 13:12:48 mycroft Exp $ */
/*
@@ -61,7 +61,6 @@ int dead_print(void *);
int chkvnlock(struct vnode *);
struct vops dead_vops = {
- .vop_default = eopnotsupp,
.vop_lookup = vop_generic_lookup,
.vop_create = dead_badop,
.vop_mknod = dead_badop,