diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-05-08 17:45:46 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2008-05-08 17:45:46 +0000 |
commit | b3fe4a82b9c59193788f636ef8321ca582f7c456 (patch) | |
tree | 104aa0b409788809a80a585feae3138637223309 /sys/miscfs | |
parent | c663795752232f934b1f838e28540feceaf5f23e (diff) |
retire vn_default_error() and replace all instances
with eopnotsupp() instead;
ok blambert@
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/deadfs/dead_vnops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/fifofs/fifo_vnops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/portal/portal_vnops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/procfs/procfs_vnops.c | 4 | ||||
-rw-r--r-- | sys/miscfs/specfs/spec_vnops.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c index 2e3f9fd1fce..8a4a6bffcf8 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.20 2008/04/12 16:01:42 thib Exp $ */ +/* $OpenBSD: dead_vnops.c,v 1.21 2008/05/08 17:45:45 thib Exp $ */ /* $NetBSD: dead_vnops.c,v 1.16 1996/02/13 13:12:48 mycroft Exp $ */ /* @@ -63,7 +63,7 @@ int chkvnlock(struct vnode *); int (**dead_vnodeop_p)(void *); struct vnodeopv_entry_desc dead_vnodeop_entries[] = { - { &vop_default_desc, vn_default_error }, + { &vop_default_desc, eopnotsupp }, { &vop_lookup_desc, vop_generic_lookup }, /* lookup */ { &vop_create_desc, dead_badop }, /* create */ { &vop_mknod_desc, dead_badop }, /* mknod */ diff --git a/sys/miscfs/fifofs/fifo_vnops.c b/sys/miscfs/fifofs/fifo_vnops.c index 7b959641c71..c4494d379fe 100644 --- a/sys/miscfs/fifofs/fifo_vnops.c +++ b/sys/miscfs/fifofs/fifo_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fifo_vnops.c,v 1.28 2008/05/03 14:41:29 thib Exp $ */ +/* $OpenBSD: fifo_vnops.c,v 1.29 2008/05/08 17:45:45 thib Exp $ */ /* $NetBSD: fifo_vnops.c,v 1.18 1996/03/16 23:52:42 christos Exp $ */ /* @@ -63,7 +63,7 @@ struct fifoinfo { int (**fifo_vnodeop_p)(void *); struct vnodeopv_entry_desc fifo_vnodeop_entries[] = { - { &vop_default_desc, vn_default_error }, + { &vop_default_desc, eopnotsupp }, { &vop_lookup_desc, vop_generic_lookup }, /* lookup */ { &vop_create_desc, fifo_badop }, /* create */ { &vop_mknod_desc, fifo_badop }, /* mknod */ diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c index c420bb2fad5..86b536789ec 100644 --- a/sys/miscfs/portal/portal_vnops.c +++ b/sys/miscfs/portal/portal_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: portal_vnops.c,v 1.26 2008/04/24 17:39:45 thib Exp $ */ +/* $OpenBSD: portal_vnops.c,v 1.27 2008/05/08 17:45:45 thib Exp $ */ /* $NetBSD: portal_vnops.c,v 1.17 1996/02/13 13:12:57 mycroft Exp $ */ /* @@ -85,7 +85,7 @@ int portal_poll(void *); int (**portal_vnodeop_p)(void *); struct vnodeopv_entry_desc portal_vnodeop_entries[] = { - { &vop_default_desc, vn_default_error }, + { &vop_default_desc, eopnotsupp }, { &vop_lookup_desc, portal_lookup }, /* lookup */ { &vop_create_desc, eopnotsupp }, /* create */ { &vop_mknod_desc, eopnotsupp }, /* mknod */ diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c index ad7cd98aed0..f9cbcc1fa77 100644 --- a/sys/miscfs/procfs/procfs_vnops.c +++ b/sys/miscfs/procfs/procfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: procfs_vnops.c,v 1.42 2008/04/24 17:39:45 thib Exp $ */ +/* $OpenBSD: procfs_vnops.c,v 1.43 2008/05/08 17:45:45 thib Exp $ */ /* $NetBSD: procfs_vnops.c,v 1.40 1996/03/16 23:52:55 christos Exp $ */ /* @@ -141,7 +141,7 @@ static pid_t atopid(const char *, u_int); */ int (**procfs_vnodeop_p)(void *); struct vnodeopv_entry_desc procfs_vnodeop_entries[] = { - { &vop_default_desc, vn_default_error }, + { &vop_default_desc, eopnotsupp }, { &vop_lookup_desc, procfs_lookup }, /* lookup */ { &vop_create_desc, procfs_badop }, /* create */ { &vop_mknod_desc, procfs_badop }, /* mknod */ diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 65fc34603e4..e175105abc1 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.48 2008/05/03 14:41:29 thib Exp $ */ +/* $OpenBSD: spec_vnops.c,v 1.49 2008/05/08 17:45:45 thib Exp $ */ /* $NetBSD: spec_vnops.c,v 1.29 1996/04/22 01:42:38 christos Exp $ */ /* @@ -57,7 +57,7 @@ struct vnode *speclisth[SPECHSZ]; int (**spec_vnodeop_p)(void *); struct vnodeopv_entry_desc spec_vnodeop_entries[] = { - { &vop_default_desc, vn_default_error }, + { &vop_default_desc, eopnotsupp }, { &vop_lookup_desc, vop_generic_lookup }, /* lookup */ { &vop_create_desc, spec_badop }, /* create */ { &vop_mknod_desc, spec_badop }, /* mknod */ |