diff --git a/sys/miscfs/deadfs/dead_vnops.c b/sys/miscfs/deadfs/dead_vnops.c index ce928ebdf968..97e36bbbac95 100644 --- a/sys/miscfs/deadfs/dead_vnops.c +++ b/sys/miscfs/deadfs/dead_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: dead_vnops.c,v 1.24 1998/05/18 16:47:37 fvdl Exp $ */ +/* $NetBSD: dead_vnops.c,v 1.25 1999/12/08 19:16:51 sommerfeld Exp $ */ /* * Copyright (c) 1989, 1993 @@ -59,6 +59,7 @@ int dead_open __P((void *)); #define dead_setattr genfs_ebadf int dead_read __P((void *)); int dead_write __P((void *)); +#define dead_fcntl genfs_badop int dead_ioctl __P((void *)); int dead_poll __P((void *)); #define dead_mmap genfs_badop @@ -107,6 +108,7 @@ struct vnodeopv_entry_desc dead_vnodeop_entries[] = { { &vop_setattr_desc, dead_setattr }, /* setattr */ { &vop_read_desc, dead_read }, /* read */ { &vop_write_desc, dead_write }, /* write */ + { &vop_fcntl_desc, dead_fcntl }, /* fcntl */ { &vop_ioctl_desc, dead_ioctl }, /* ioctl */ { &vop_poll_desc, dead_poll }, /* poll */ { &vop_revoke_desc, dead_revoke }, /* revoke */ diff --git a/sys/miscfs/specfs/spec_vnops.c b/sys/miscfs/specfs/spec_vnops.c index 489aa83495a4..6c4a8dee1c27 100644 --- a/sys/miscfs/specfs/spec_vnops.c +++ b/sys/miscfs/specfs/spec_vnops.c @@ -1,4 +1,4 @@ -/* $NetBSD: spec_vnops.c,v 1.46 1999/12/08 18:57:07 sommerfeld Exp $ */ +/* $NetBSD: spec_vnops.c,v 1.47 1999/12/08 19:16:52 sommerfeld Exp $ */ /* * Copyright (c) 1989, 1993 @@ -87,6 +87,7 @@ struct vnodeopv_entry_desc spec_vnodeop_entries[] = { { &vop_read_desc, spec_read }, /* read */ { &vop_write_desc, spec_write }, /* write */ { &vop_lease_desc, spec_lease_check }, /* lease */ + { &vop_fcntl_desc, spec_fcntl }, /* fcntl */ { &vop_ioctl_desc, spec_ioctl }, /* ioctl */ { &vop_poll_desc, spec_poll }, /* poll */ { &vop_revoke_desc, spec_revoke }, /* revoke */ diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h index ebc29b3b131e..dbe84f7aacf8 100644 --- a/sys/miscfs/specfs/specdev.h +++ b/sys/miscfs/specfs/specdev.h @@ -1,4 +1,4 @@ -/* $NetBSD: specdev.h,v 1.18 1999/11/15 18:49:10 fvdl Exp $ */ +/* $NetBSD: specdev.h,v 1.19 1999/12/08 19:16:52 sommerfeld Exp $ */ /* * Copyright (c) 1990, 1993 @@ -90,6 +90,7 @@ int spec_close __P((void *)); int spec_read __P((void *)); int spec_write __P((void *)); #define spec_lease_check genfs_nullop +#define spec_fcntl genfs_fcntl int spec_ioctl __P((void *)); int spec_poll __P((void *)); #define spec_revoke genfs_revoke