Add appropriate VOP_FCNTL handlers to deadfs and specfs ops vectors.
This commit is contained in:
parent
f0cc7a5815
commit
a51f685d41
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user