diff options
| author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-05-26 09:07:53 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-13 19:52:40 -0400 |
| commit | 364ed2f4653d7c86ebedcc116a9cb34fd272867c (patch) | |
| tree | 78678b7ccbb30a4dcc285031e2759f04a5b1ac6d | |
| parent | 93cce049682a1aebd49766f29af363e5b8770aed (diff) | |
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>
| -rw-r--r-- | fs/pstore/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
| 258 | return rc; | 258 | return rc; |
| 259 | } | 259 | } |
| 260 | 260 | ||
| 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) |
| 262 | { | 262 | { |
| 263 | struct inode *inode; | 263 | struct inode *inode; |
| 264 | 264 | ||
