summaryrefslogtreecommitdiffstats
path: root/sys/miscfs/nullfs/null_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/nullfs/null_subr.c')
-rw-r--r--sys/miscfs/nullfs/null_subr.c2
1 files changed, 2 insertions, 0 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);
}
/*
OpenPOWER on IntegriCloud