Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -56,7 +56,7 @@
 * Allocate a new log or catalog handle
 * Allocate a new log or catalog handle
 * Used inside llog_open().
 * Used inside llog_open().
 */
 */
struct llog_handle *llog_alloc_handle(void)
static struct llog_handle *llog_alloc_handle(void)
{
{
	struct llog_handle *loghandle;
	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
 * 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);
	LASSERT(loghandle != NULL);