From: Anton Vorontsov Date: Sat, 26 May 2012 13:07:53 +0000 (-0700) Subject: pstore/inode: Make pstore_fill_super() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=364ed2f4653d7c86ebedcc116a9cb34fd272867c;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git pstore/inode: Make pstore_fill_super() static There's no reason to extern it. The patch fixes the annoying sparse warning: CHECK fs/pstore/inode.c fs/pstore/inode.c:264:5: warning: symbol 'pstore_fill_super' was not declared. Should it be static? Signed-off-by: Anton Vorontsov Acked-by: Kees Cook Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index aeb19e68e08..11a2aa2a56c 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c @@ -258,7 +258,7 @@ fail: return rc; } -int pstore_fill_super(struct super_block *sb, void *data, int silent) +static int pstore_fill_super(struct super_block *sb, void *data, int silent) { struct inode *inode;