Skip to content

Commit 364ed2f

Browse files
Anton Vorontsovgregkh
authored andcommitted
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 <anton.vorontsov@linaro.org> Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 93cce04 commit 364ed2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎fs/pstore/inode.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ int pstore_mkfile(enum pstore_type_id type, char *psname, u64 id,
258258
return rc;
259259
}
260260

261-
int pstore_fill_super(struct super_block *sb, void *data, int silent)
261+
static int pstore_fill_super(struct super_block *sb, void *data, int silent)
262262
{
263263
struct inode *inode;
264264

0 commit comments

Comments
 (0)