]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: lustre: Include header file that declares lprocfs_mdc_init_vars
authorDarshana Padmadas <darshanapadmadas@gmail.com>
Sat, 28 Mar 2015 17:43:55 +0000 (23:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Apr 2015 15:33:56 +0000 (17:33 +0200)
This patch includes the header file mdc_internal.h that declares the
function lprocfs_mdc_init_vars.

This also eliminates the sparse warning:
warning: symbol 'lprocfs_mdc_init_vars' was not declared. Should it be static?

Signed-off-by: Darshana Padmadas <darshanapadmadas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/lproc_mdc.c

index a4fb29496850fa270238d6bc9d7e22e39ddfd744..acfe08e459c0c5bfb84a610ba6144f2faaec2379 100644 (file)
@@ -38,6 +38,7 @@
 #include <linux/vfs.h>
 #include "../include/obd_class.h"
 #include "../include/lprocfs_status.h"
+#include "mdc_internal.h"
 
 static int mdc_max_rpcs_in_flight_seq_show(struct seq_file *m, void *v)
 {