diff options
author | phk <phk@FreeBSD.org> | 1997-10-15 09:22:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-15 09:22:02 +0000 |
commit | 26130e0b77925018ba132e00c658f19fa1110124 (patch) | |
tree | c0a849779a6929b9ad16111df1b95e21ca6de130 /sys/miscfs/nullfs | |
parent | 64c4a51f160972b87744cee817202f768d309a42 (diff) | |
download | FreeBSD-src-26130e0b77925018ba132e00c658f19fa1110124.zip FreeBSD-src-26130e0b77925018ba132e00c658f19fa1110124.tar.gz |
Stylistic overhaul of vnops tables.
1. Remove comment stating the blatantly obvious.
2. Align in two columns.
3. Sort all but the default element alphabetically.
4. Remove XXX comments pointing out entries not needed.
Diffstat (limited to 'sys/miscfs/nullfs')
-rw-r--r-- | sys/miscfs/nullfs/null_vnops.c | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c index 9db6725..f9f7226 100644 --- a/sys/miscfs/nullfs/null_vnops.c +++ b/sys/miscfs/nullfs/null_vnops.c @@ -37,11 +37,11 @@ * * Ancestors: * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92 - * $Id: null_vnops.c,v 1.21 1997/08/02 14:32:05 bde Exp $ + * $Id: null_vnops.c,v 1.22 1997/09/18 18:33:18 phk Exp $ * ...and... * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project * - * $Id: null_vnops.c,v 1.21 1997/08/02 14:32:05 bde Exp $ + * $Id: null_vnops.c,v 1.22 1997/09/18 18:33:18 phk Exp $ */ /* @@ -639,21 +639,18 @@ null_bwrite(ap) */ vop_t **null_vnodeop_p; static struct vnodeopv_entry_desc null_vnodeop_entries[] = { - { &vop_default_desc, (vop_t *)null_bypass }, - - { &vop_lookup_desc, (vop_t *)null_lookup }, - { &vop_setattr_desc, (vop_t *)null_setattr }, - { &vop_getattr_desc, (vop_t *)null_getattr }, - { &vop_access_desc, (vop_t *)null_access }, - { &vop_lock_desc, (vop_t *)null_lock }, - { &vop_unlock_desc, (vop_t *)null_unlock }, - { &vop_inactive_desc, (vop_t *)null_inactive }, - { &vop_reclaim_desc, (vop_t *)null_reclaim }, - { &vop_print_desc, (vop_t *)null_print }, - - { &vop_strategy_desc, (vop_t *)null_strategy }, - { &vop_bwrite_desc, (vop_t *)null_bwrite }, - + { &vop_default_desc, (vop_t *) null_bypass }, + { &vop_access_desc, (vop_t *) null_access }, + { &vop_bwrite_desc, (vop_t *) null_bwrite }, + { &vop_getattr_desc, (vop_t *) null_getattr }, + { &vop_inactive_desc, (vop_t *) null_inactive }, + { &vop_lock_desc, (vop_t *) null_lock }, + { &vop_lookup_desc, (vop_t *) null_lookup }, + { &vop_print_desc, (vop_t *) null_print }, + { &vop_reclaim_desc, (vop_t *) null_reclaim }, + { &vop_setattr_desc, (vop_t *) null_setattr }, + { &vop_strategy_desc, (vop_t *) null_strategy }, + { &vop_unlock_desc, (vop_t *) null_unlock }, { NULL, NULL } }; static struct vnodeopv_desc null_vnodeop_opv_desc = |