Skip to content

Commit

Permalink
Fix function name typos
Browse files Browse the repository at this point in the history
vn_init() and vn_fini() had been renamed by 12ff95f in 2011.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tomohiro Kusumi <kusumi.tomohiro@osnexus.com>
Closes #686
  • Loading branch information
kusumi authored and behlendorf committed Feb 21, 2018
1 parent 68386b0 commit 378c6ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions module/spl/spl-vnode.c
Expand Up @@ -658,7 +658,7 @@ vn_file_cache_constructor(void *buf, void *cdrarg, int kmflags)
INIT_LIST_HEAD(&fp->f_list);

return (0);
} /* file_cache_constructor() */
} /* vn_file_cache_constructor() */

static void
vn_file_cache_destructor(void *buf, void *cdrarg)
Expand All @@ -680,7 +680,7 @@ spl_vn_init(void)
vn_file_cache_destructor, NULL, NULL, NULL, 0);

return (0);
} /* vn_init() */
} /* spl_vn_init() */

void
spl_vn_fini(void)
Expand All @@ -703,4 +703,4 @@ spl_vn_fini(void)

kmem_cache_destroy(vn_file_cache);
kmem_cache_destroy(vn_cache);
} /* vn_fini() */
} /* spl_vn_fini() */

0 comments on commit 378c6ed

Please sign in to comment.