mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 02:12:00 -04:00
staging: lustre: Make struct mdc_kuc_fops static
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
840c94d574
commit
3b2f5202c5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user