summaryrefslogtreecommitdiffstats
path: root/sys/fs/umapfs/umap_subr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/umapfs/umap_subr.c')
-rw-r--r--sys/fs/umapfs/umap_subr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/fs/umapfs/umap_subr.c b/sys/fs/umapfs/umap_subr.c
index 6f1f077..b640891 100644
--- a/sys/fs/umapfs/umap_subr.c
+++ b/sys/fs/umapfs/umap_subr.c
@@ -73,6 +73,7 @@ static struct umap_node_cache umap_node_cache[NUMAPNODECACHE];
/*
* Initialise cache headers
*/
+int
umapfs_init()
{
struct umap_node_cache *ac;
@@ -82,6 +83,7 @@ umapfs_init()
for (ac = umap_node_cache; ac < umap_node_cache + NUMAPNODECACHE; ac++)
ac->ac_forw = ac->ac_back = (struct umap_node *) ac;
+ return (0);
}
/*
OpenPOWER on IntegriCloud