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: Zheng Di <zhengdi05@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Zheng Di 2014-09-02 01:51:28 +08:00 committed by Greg Kroah-Hartman
parent 31664dc6f8
commit d6e962c5a0

View File

@ -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);