staging: lustre: Make struct mdc_kuc_fops static
authorDzmitry Sledneu <dzmitry.sledneu@gmail.com>
Sat, 18 Apr 2015 13:20:43 +0000 (15:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 14:24:04 +0000 (16:24 +0200)
This patch fixes the following Sparse warning:
"symbol 'mdc_kuc_fops' was not declared. Should it be static?".

Signed-off-by: Dzmitry Sledneu <dzmitry.sledneu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/mdc/lproc_mdc.c

index acfe08e459c0c5bfb84a610ba6144f2faaec2379..b41e50ea6ed8de3e50df83bcc9cbc035a035dab6 100644 (file)
@@ -147,7 +147,7 @@ static ssize_t mdc_kuc_write(struct file *file,
        return count;
 }
 
-struct file_operations mdc_kuc_fops = {
+static struct file_operations mdc_kuc_fops = {
        .open           = mdc_kuc_open,
        .write          = mdc_kuc_write,
        .release        = single_release,