Commit d6e962c5 authored by Zheng Di's avatar Zheng Di Committed by Greg Kroah-Hartman

staging: lustre: declare some functions as static

Declare these functions as static:
llog_alloc_handle() is used in llog_open() only.
llog_free_handle() is used in llog_close() only.
Signed-off-by: default avatarZheng Di <zhengdi05@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 31664dc6
......@@ -56,7 +56,7 @@
* Allocate a new log or catalog handle
* Used inside llog_open().
*/
struct llog_handle *llog_alloc_handle(void)
static struct llog_handle *llog_alloc_handle(void)
{
struct llog_handle *loghandle;
......@@ -75,7 +75,7 @@ struct llog_handle *llog_alloc_handle(void)
/*
* Free llog handle and header data if exists. Used in llog_close() only
*/
void llog_free_handle(struct llog_handle *loghandle)
static void llog_free_handle(struct llog_handle *loghandle)
{
LASSERT(loghandle != NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment