summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-15 09:22:02 +0000
committerphk <phk@FreeBSD.org>1997-10-15 09:22:02 +0000
commit26130e0b77925018ba132e00c658f19fa1110124 (patch)
treec0a849779a6929b9ad16111df1b95e21ca6de130 /sys/fs/umapfs
parent64c4a51f160972b87744cee817202f768d309a42 (diff)
downloadFreeBSD-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/fs/umapfs')
-rw-r--r--sys/fs/umapfs/umap_vnops.c25
1 files changed, 11 insertions, 14 deletions
diff --git a/sys/fs/umapfs/umap_vnops.c b/sys/fs/umapfs/umap_vnops.c
index 64d5fba..dc6d9d9 100644
--- a/sys/fs/umapfs/umap_vnops.c
+++ b/sys/fs/umapfs/umap_vnops.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)umap_vnops.c 8.6 (Berkeley) 5/22/95
- * $Id: umap_vnops.c,v 1.18 1997/08/02 14:32:26 bde Exp $
+ * $Id: umap_vnops.c,v 1.19 1997/09/18 18:33:23 phk Exp $
*/
/*
@@ -529,19 +529,16 @@ umap_rename(ap)
*/
vop_t **umap_vnodeop_p;
static struct vnodeopv_entry_desc umap_vnodeop_entries[] = {
- { &vop_default_desc, (vop_t *)umap_bypass },
-
- { &vop_getattr_desc, (vop_t *)umap_getattr },
- { &vop_lock_desc, (vop_t *)umap_lock },
- { &vop_unlock_desc, (vop_t *)umap_unlock },
- { &vop_inactive_desc, (vop_t *)umap_inactive },
- { &vop_reclaim_desc, (vop_t *)umap_reclaim },
- { &vop_print_desc, (vop_t *)umap_print },
- { &vop_rename_desc, (vop_t *)umap_rename },
-
- { &vop_strategy_desc, (vop_t *)umap_strategy },
- { &vop_bwrite_desc, (vop_t *)umap_bwrite },
-
+ { &vop_default_desc, (vop_t *) umap_bypass },
+ { &vop_bwrite_desc, (vop_t *) umap_bwrite },
+ { &vop_getattr_desc, (vop_t *) umap_getattr },
+ { &vop_inactive_desc, (vop_t *) umap_inactive },
+ { &vop_lock_desc, (vop_t *) umap_lock },
+ { &vop_print_desc, (vop_t *) umap_print },
+ { &vop_reclaim_desc, (vop_t *) umap_reclaim },
+ { &vop_rename_desc, (vop_t *) umap_rename },
+ { &vop_strategy_desc, (vop_t *) umap_strategy },
+ { &vop_unlock_desc, (vop_t *) umap_unlock },
{ NULL, NULL }
};
static struct vnodeopv_desc umap_vnodeop_opv_desc =
OpenPOWER on IntegriCloud