From: Anton Vorontsov Date: Sat, 26 May 2012 13:07:53 +0000 (-0700) Subject: pstore/inode: Make pstore_fill_super() static X-Git-Tag: Ubuntu-snapdragon-4.4.0-1029.32~13019^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=364ed2f4653d7c86ebedcc116a9cb34fd272867c;p=mirror_ubuntu-zesty-kernel.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 aeb19e68e086..11a2aa2a56c4 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;