]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: Make the function 'llog_cat_process_cb' static
authorArjun AK <arjunak234@gmail.com>
Sun, 8 Feb 2015 10:29:10 +0000 (15:59 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 01:24:04 +0000 (17:24 -0800)
This patch defines the function 'llog_cat_process_cb' as static

Signed-off-by: Arjun AK <arjunak234@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/llog_cat.c

index 4b850fc5f5d9aeb1dab4fb921ef4d65928e1c858..08afdf332531640e8d4a704d505e43c877bad920 100644 (file)
@@ -526,8 +526,9 @@ int llog_cat_cancel_records(const struct lu_env *env,
 }
 EXPORT_SYMBOL(llog_cat_cancel_records);
 
-int llog_cat_process_cb(const struct lu_env *env, struct llog_handle *cat_llh,
-                       struct llog_rec_hdr *rec, void *data)
+static int llog_cat_process_cb(const struct lu_env *env,
+                              struct llog_handle *cat_llh,
+                              struct llog_rec_hdr *rec, void *data)
 {
        struct llog_process_data *d = data;
        struct llog_logid_rec *lir = (struct llog_logid_rec *)rec;