* [PATCH] staging: lustre: fix sparse warning
@ 2015-04-05 10:54 Tal Shorer
0 siblings, 0 replies; only message in thread
From: Tal Shorer @ 2015-04-05 10:54 UTC (permalink / raw)
To: gregkh
Cc: oleg.drokin, andreas.dilger, Julia.Lawall, gdonald, john.hammond,
Andriy_Skulysh, gmate.amit, tal.shorer, joe, daeseok.youn,
HPDD-discuss, devel, linux-kernel
Sparse reports:
drivers/staging/lustre/lustre/obdclass/obd_mount.c:1284:6: warning:
symbol 'lustre_kill_super' was not declared. Should it be static?
Fix this warning by making lustre_kill_super static.
It is not used outside this file.
Signed-off-by: Tal Shorer <tal.shorer@gmail.com>
---
drivers/staging/lustre/lustre/obdclass/obd_mount.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/obdclass/obd_mount.c b/drivers/staging/lustre/lustre/obdclass/obd_mount.c
index 4f39cde..306aee1 100644
--- a/drivers/staging/lustre/lustre/obdclass/obd_mount.c
+++ b/drivers/staging/lustre/lustre/obdclass/obd_mount.c
@@ -1281,7 +1281,7 @@ struct dentry *lustre_mount(struct file_system_type *fs_type, int flags,
return mount_nodev(fs_type, flags, &lmd2, lustre_fill_super);
}
-void lustre_kill_super(struct super_block *sb)
+static void lustre_kill_super(struct super_block *sb)
{
struct lustre_sb_info *lsi = s2lsi(sb);
--
2.3.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-05 10:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-05 10:54 [PATCH] staging: lustre: fix sparse warning Tal Shorer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®