diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2009-08-13 15:00:15 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2009-08-13 15:00:15 +0000 |
commit | 57592d514829210ee7295c7edbda72d6e7757158 (patch) | |
tree | 7deef60ae6714b8b22682aabef34c6f428369915 /sys/nfs | |
parent | da5347436d8aed4066ef489f4883ee177884b769 (diff) |
- remove super-obvious comments from $fs_vnodeop_entries[]
prodded by and ok thib@
agreed by art@ and blambert@
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_vnops.c | 122 |
1 files changed, 61 insertions, 61 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c index 2faf0f7cff4..0a145702db9 100644 --- a/sys/nfs/nfs_vnops.c +++ b/sys/nfs/nfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_vnops.c,v 1.120 2009/08/04 17:12:39 thib Exp $ */ +/* $OpenBSD: nfs_vnops.c,v 1.121 2009/08/13 15:00:14 jasper Exp $ */ /* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */ /* @@ -89,40 +89,40 @@ void nfs_cache_enter(struct vnode *, struct vnode *, struct componentname *); int (**nfsv2_vnodeop_p)(void *); struct vnodeopv_entry_desc nfsv2_vnodeop_entries[] = { { &vop_default_desc, eopnotsupp }, - { &vop_lookup_desc, nfs_lookup }, /* lookup */ - { &vop_create_desc, nfs_create }, /* create */ - { &vop_mknod_desc, nfs_mknod }, /* mknod */ - { &vop_open_desc, nfs_open }, /* open */ - { &vop_close_desc, nfs_close }, /* close */ - { &vop_access_desc, nfs_access }, /* access */ - { &vop_getattr_desc, nfs_getattr }, /* getattr */ - { &vop_setattr_desc, nfs_setattr }, /* setattr */ - { &vop_read_desc, nfs_read }, /* read */ - { &vop_write_desc, nfs_write }, /* write */ - { &vop_ioctl_desc, nfs_ioctl }, /* ioctl */ - { &vop_poll_desc, nfs_poll }, /* poll */ - { &vop_kqfilter_desc, nfs_kqfilter }, /* kqfilter */ - { &vop_revoke_desc, vop_generic_revoke }, /* revoke */ - { &vop_fsync_desc, nfs_fsync }, /* fsync */ - { &vop_remove_desc, nfs_remove }, /* remove */ - { &vop_link_desc, nfs_link }, /* link */ - { &vop_rename_desc, nfs_rename }, /* rename */ - { &vop_mkdir_desc, nfs_mkdir }, /* mkdir */ - { &vop_rmdir_desc, nfs_rmdir }, /* rmdir */ - { &vop_symlink_desc, nfs_symlink }, /* symlink */ - { &vop_readdir_desc, nfs_readdir }, /* readdir */ - { &vop_readlink_desc, nfs_readlink }, /* readlink */ - { &vop_abortop_desc, vop_generic_abortop }, /* abortop */ - { &vop_inactive_desc, nfs_inactive }, /* inactive */ - { &vop_reclaim_desc, nfs_reclaim }, /* reclaim */ - { &vop_lock_desc, vop_generic_lock }, /* lock */ - { &vop_unlock_desc, vop_generic_unlock }, /* unlock */ - { &vop_bmap_desc, nfs_bmap }, /* bmap */ - { &vop_strategy_desc, nfs_strategy }, /* strategy */ - { &vop_print_desc, nfs_print }, /* print */ - { &vop_islocked_desc, vop_generic_islocked }, /* islocked */ - { &vop_pathconf_desc, nfs_pathconf }, /* pathconf */ - { &vop_advlock_desc, nfs_advlock }, /* advlock */ + { &vop_lookup_desc, nfs_lookup }, + { &vop_create_desc, nfs_create }, + { &vop_mknod_desc, nfs_mknod }, + { &vop_open_desc, nfs_open }, + { &vop_close_desc, nfs_close }, + { &vop_access_desc, nfs_access }, + { &vop_getattr_desc, nfs_getattr }, + { &vop_setattr_desc, nfs_setattr }, + { &vop_read_desc, nfs_read }, + { &vop_write_desc, nfs_write }, + { &vop_ioctl_desc, nfs_ioctl }, + { &vop_poll_desc, nfs_poll }, + { &vop_kqfilter_desc, nfs_kqfilter }, + { &vop_revoke_desc, vop_generic_revoke }, + { &vop_fsync_desc, nfs_fsync }, + { &vop_remove_desc, nfs_remove }, + { &vop_link_desc, nfs_link }, + { &vop_rename_desc, nfs_rename }, + { &vop_mkdir_desc, nfs_mkdir }, + { &vop_rmdir_desc, nfs_rmdir }, + { &vop_symlink_desc, nfs_symlink }, + { &vop_readdir_desc, nfs_readdir }, + { &vop_readlink_desc, nfs_readlink }, + { &vop_abortop_desc, vop_generic_abortop }, + { &vop_inactive_desc, nfs_inactive }, + { &vop_reclaim_desc, nfs_reclaim }, + { &vop_lock_desc, vop_generic_lock }, + { &vop_unlock_desc, vop_generic_unlock }, + { &vop_bmap_desc, nfs_bmap }, + { &vop_strategy_desc, nfs_strategy }, + { &vop_print_desc, nfs_print }, + { &vop_islocked_desc, vop_generic_islocked }, + { &vop_pathconf_desc, nfs_pathconf }, + { &vop_advlock_desc, nfs_advlock }, { &vop_bwrite_desc, nfs_bwrite }, { NULL, NULL } }; @@ -135,19 +135,19 @@ struct vnodeopv_desc nfsv2_vnodeop_opv_desc = int (**spec_nfsv2nodeop_p)(void *); struct vnodeopv_entry_desc spec_nfsv2nodeop_entries[] = { { &vop_default_desc, spec_vnoperate }, - { &vop_close_desc, nfsspec_close }, /* close */ - { &vop_access_desc, nfsspec_access }, /* access */ - { &vop_getattr_desc, nfs_getattr }, /* getattr */ - { &vop_setattr_desc, nfs_setattr }, /* setattr */ - { &vop_read_desc, nfsspec_read }, /* read */ - { &vop_write_desc, nfsspec_write }, /* write */ - { &vop_fsync_desc, nfs_fsync }, /* fsync */ - { &vop_inactive_desc, nfs_inactive }, /* inactive */ - { &vop_reclaim_desc, nfs_reclaim }, /* reclaim */ - { &vop_lock_desc, vop_generic_lock }, /* lock */ - { &vop_unlock_desc, vop_generic_unlock }, /* unlock */ - { &vop_print_desc, nfs_print }, /* print */ - { &vop_islocked_desc, vop_generic_islocked }, /* islocked */ + { &vop_close_desc, nfsspec_close }, + { &vop_access_desc, nfsspec_access }, + { &vop_getattr_desc, nfs_getattr }, + { &vop_setattr_desc, nfs_setattr }, + { &vop_read_desc, nfsspec_read }, + { &vop_write_desc, nfsspec_write }, + { &vop_fsync_desc, nfs_fsync }, + { &vop_inactive_desc, nfs_inactive }, + { &vop_reclaim_desc, nfs_reclaim }, + { &vop_lock_desc, vop_generic_lock }, + { &vop_unlock_desc, vop_generic_unlock }, + { &vop_print_desc, nfs_print }, + { &vop_islocked_desc, vop_generic_islocked }, { NULL, NULL } }; struct vnodeopv_desc spec_nfsv2nodeop_opv_desc = @@ -157,19 +157,19 @@ struct vnodeopv_desc spec_nfsv2nodeop_opv_desc = int (**fifo_nfsv2nodeop_p)(void *); struct vnodeopv_entry_desc fifo_nfsv2nodeop_entries[] = { { &vop_default_desc, fifo_vnoperate }, - { &vop_close_desc, nfsfifo_close }, /* close */ - { &vop_access_desc, nfsspec_access }, /* access */ - { &vop_getattr_desc, nfs_getattr }, /* getattr */ - { &vop_setattr_desc, nfs_setattr }, /* setattr */ - { &vop_read_desc, nfsfifo_read }, /* read */ - { &vop_write_desc, nfsfifo_write }, /* write */ - { &vop_fsync_desc, nfs_fsync }, /* fsync */ - { &vop_inactive_desc, nfs_inactive }, /* inactive */ - { &vop_reclaim_desc, nfsfifo_reclaim }, /* reclaim */ - { &vop_lock_desc, vop_generic_lock }, /* lock */ - { &vop_unlock_desc, vop_generic_unlock }, /* unlock */ - { &vop_print_desc, nfs_print }, /* print */ - { &vop_islocked_desc, vop_generic_islocked }, /* islocked */ + { &vop_close_desc, nfsfifo_close }, + { &vop_access_desc, nfsspec_access }, + { &vop_getattr_desc, nfs_getattr }, + { &vop_setattr_desc, nfs_setattr }, + { &vop_read_desc, nfsfifo_read }, + { &vop_write_desc, nfsfifo_write }, + { &vop_fsync_desc, nfs_fsync }, + { &vop_inactive_desc, nfs_inactive }, + { &vop_reclaim_desc, nfsfifo_reclaim }, + { &vop_lock_desc, vop_generic_lock }, + { &vop_unlock_desc, vop_generic_unlock }, + { &vop_print_desc, nfs_print }, + { &vop_islocked_desc, vop_generic_islocked }, { &vop_bwrite_desc, vop_generic_bwrite }, { NULL, NULL } }; |