diff options
Diffstat (limited to 'sys/miscfs/nullfs')
-rw-r--r-- | sys/miscfs/nullfs/null_subr.c | 2 | ||||
-rw-r--r-- | sys/miscfs/nullfs/null_vnops.c | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sys/miscfs/nullfs/null_subr.c b/sys/miscfs/nullfs/null_subr.c index a31723f..5541fb3 100644 --- a/sys/miscfs/nullfs/null_subr.c +++ b/sys/miscfs/nullfs/null_subr.c @@ -73,6 +73,7 @@ static struct null_node_cache null_node_cache[NNULLNODECACHE]; /* * Initialise cache headers */ +int nullfs_init() { struct null_node_cache *ac; @@ -82,6 +83,7 @@ nullfs_init() for (ac = null_node_cache; ac < null_node_cache + NNULLNODECACHE; ac++) ac->ac_forw = ac->ac_back = (struct null_node *) ac; + return (0); } /* diff --git a/sys/miscfs/nullfs/null_vnops.c b/sys/miscfs/nullfs/null_vnops.c index 115ff6f..d6e0cd7 100644 --- a/sys/miscfs/nullfs/null_vnops.c +++ b/sys/miscfs/nullfs/null_vnops.c @@ -35,11 +35,7 @@ * * @(#)null_vnops.c 8.1 (Berkeley) 6/10/93 * - * Ancestors: - * @(#)lofs_vnops.c 1.2 (Berkeley) 6/18/92 - * $Id: lofs_vnops.c,v 1.11 1992/05/30 10:05:43 jsp Exp jsp $ - * ...and... - * @(#)null_vnodeops.c 1.20 92/07/07 UCLA Ficus project + * $Id: null_vnops.c,v 1.2 1994/08/02 07:45:06 davidg Exp $ */ /* @@ -211,7 +207,6 @@ null_bypass(ap) <other random data follows, presumably> } */ *ap; { - extern int (**null_vnodeop_p)(); /* not extern, really "forward" */ register struct vnode **this_vp_p; int error; struct vnode *old_vps[VDESC_MAX_VPS]; |