diff options
author | phk <phk@FreeBSD.org> | 1997-10-15 13:24:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-15 13:24:07 +0000 |
commit | f7aabc3ac9f5e7e265942303c10f94c847a7ef2d (patch) | |
tree | 379238b04da37a49e55a28d844fbbcbfc9583c70 /sys/miscfs/specfs/specdev.h | |
parent | 213e132f58cfb18b8eda2e64a6ed23ffc6002932 (diff) | |
download | FreeBSD-src-f7aabc3ac9f5e7e265942303c10f94c847a7ef2d.zip FreeBSD-src-f7aabc3ac9f5e7e265942303c10f94c847a7ef2d.tar.gz |
vnops megacommit
1. Use the default function to access all the specfs operations.
2. Use the default function to access all the fifofs operations.
3. Use the default function to access all the ufs operations.
4. Fix VCALL usage in vfs_cache.c
5. Use VOCALL to access specfs functions in devfs_vnops.c
6. Staticize most of the spec and fifofs vnops functions.
7. Make UFS panic if it lacks bits of the underlying storage handling.
Diffstat (limited to 'sys/miscfs/specfs/specdev.h')
-rw-r--r-- | sys/miscfs/specfs/specdev.h | 48 |
1 files changed, 2 insertions, 46 deletions
diff --git a/sys/miscfs/specfs/specdev.h b/sys/miscfs/specfs/specdev.h index fe046ce..06a5cdd 100644 --- a/sys/miscfs/specfs/specdev.h +++ b/sys/miscfs/specfs/specdev.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)specdev.h 8.6 (Berkeley) 5/21/95 - * $Id: specdev.h,v 1.11 1997/02/22 09:40:35 peter Exp $ + * $Id: specdev.h,v 1.12 1997/09/14 02:58:03 peter Exp $ */ /* @@ -81,48 +81,4 @@ struct flock; struct buf; struct uio; -int spec_badop __P((void)); -int spec_lookup __P((struct vop_lookup_args *)); -#define spec_create ((int (*) __P((struct vop_create_args *)))spec_badop) -#define spec_mknod ((int (*) __P((struct vop_mknod_args *)))spec_badop) -int spec_open __P((struct vop_open_args *)); -int spec_close __P((struct vop_close_args *)); -#define spec_access ((int (*) __P((struct vop_access_args *)))spec_ebadf) -#define spec_setattr ((int (*) __P((struct vop_setattr_args *)))spec_ebadf) -int spec_read __P((struct vop_read_args *)); -int spec_write __P((struct vop_write_args *)); -#define spec_lease_check ((int (*) __P((struct vop_lease_args *)))nullop) -int spec_ioctl __P((struct vop_ioctl_args *)); -int spec_poll __P((struct vop_poll_args *)); -#define spec_revoke vop_revoke -#define spec_mmap ((int (*) __P((struct vop_mmap_args *)))spec_badop) -int spec_fsync __P((struct vop_fsync_args *)); -#define spec_seek ((int (*) __P((struct vop_seek_args *)))spec_badop) -#define spec_remove ((int (*) __P((struct vop_remove_args *)))spec_badop) -#define spec_link ((int (*) __P((struct vop_link_args *)))spec_badop) -#define spec_rename ((int (*) __P((struct vop_rename_args *)))spec_badop) -#define spec_mkdir ((int (*) __P((struct vop_mkdir_args *)))spec_badop) -#define spec_rmdir ((int (*) __P((struct vop_rmdir_args *)))spec_badop) -#define spec_symlink ((int (*) __P((struct vop_symlink_args *)))spec_badop) -#define spec_readdir ((int (*) __P((struct vop_readdir_args *)))spec_badop) -#define spec_readlink ((int (*) __P((struct vop_readlink_args *)))spec_badop) -#define spec_abortop ((int (*) __P((struct vop_abortop_args *)))spec_badop) -int spec_inactive __P((struct vop_inactive_args *)); -#define spec_reclaim ((int (*) __P((struct vop_reclaim_args *)))nullop) -#define spec_lock ((int (*) __P((struct vop_lock_args *)))vop_nolock) -#define spec_unlock ((int (*) __P((struct vop_unlock_args *)))vop_nounlock) -int spec_bmap __P((struct vop_bmap_args *)); -int spec_strategy __P((struct vop_strategy_args *)); -int spec_print __P((struct vop_print_args *)); -#define spec_islocked ((int(*) __P((struct vop_islocked_args *)))vop_noislocked) -int spec_pathconf __P((struct vop_pathconf_args *)); -int spec_advlock __P((struct vop_advlock_args *)); -int spec_getpages __P((struct vop_getpages_args *)); -#define spec_blkatoff ((int (*) __P((struct vop_blkatoff_args *)))spec_badop) -#define spec_valloc ((int (*) __P((struct vop_valloc_args *)))spec_badop) -#define spec_reallocblks \ - ((int (*) __P((struct vop_reallocblks_args *)))spec_badop) -#define spec_vfree ((int (*) __P((struct vop_vfree_args *)))spec_badop) -#define spec_truncate ((int (*) __P((struct vop_truncate_args *)))nullop) -#define spec_update ((int (*) __P((struct vop_update_args *)))nullop) -#define spec_bwrite ((int (*) __P((struct vop_bwrite_args *)))nullop) +int spec_vnoperate __P((struct vop_generic_args *)); |