From: Zheng Di Date: Mon, 1 Sep 2014 17:51:28 +0000 (+0800) Subject: staging: lustre: declare some functions as static X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d6e962c5a0d11bad9711171743756578d2969f45;p=deliverable%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/llog.c b/drivers/staging/lustre/lustre/obdclass/llog.c index cce86890c563..ebdc42f33952 100644 --- a/drivers/staging/lustre/lustre/obdclass/llog.c +++ b/drivers/staging/lustre/lustre/obdclass/llog.c @@ -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);