diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-09-23 16:46:51 -0400 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2011-10-03 11:07:29 -0400 |
commit | de74b05ace743b4a7aefad9e9b33ff899979b34a (patch) | |
tree | 9f62853e67803cf406eaf35238a429128f2272d3 /fs/exofs | |
parent | 1958c7c284298f0d17a1ab3820c77c40ea3d3711 (diff) |
exofs/super.c: local functions should be static
This quiets the following sparse noise:
warning: symbol 'exofs_sync_fs' was not declared. Should it be static?
warning: symbol 'exofs_free_sbi' was not declared. Should it be static?
warning: symbol 'exofs_get_parent' was not declared. Should it be static?
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/exofs')
-rw-r--r-- | fs/exofs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/exofs/super.c b/fs/exofs/super.c index 274894053b02..afe79ee088ad 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c | |||
@@ -355,7 +355,7 @@ static const struct export_operations exofs_export_ops; | |||
355 | /* | 355 | /* |
356 | * Write the superblock to the OSD | 356 | * Write the superblock to the OSD |
357 | */ | 357 | */ |
358 | int exofs_sync_fs(struct super_block *sb, int wait) | 358 | static int exofs_sync_fs(struct super_block *sb, int wait) |
359 | { | 359 | { |
360 | struct exofs_sb_info *sbi; | 360 | struct exofs_sb_info *sbi; |
361 | struct exofs_fscb *fscb; | 361 | struct exofs_fscb *fscb; |
@@ -429,7 +429,7 @@ static void _exofs_print_device(const char *msg, const char *dev_path, | |||
429 | msg, dev_path ?: "", odi->osdname, _LLU(pid)); | 429 | msg, dev_path ?: "", odi->osdname, _LLU(pid)); |
430 | } | 430 | } |
431 | 431 | ||
432 | void exofs_free_sbi(struct exofs_sb_info *sbi) | 432 | static void exofs_free_sbi(struct exofs_sb_info *sbi) |
433 | { | 433 | { |
434 | while (sbi->comps.numdevs) { | 434 | while (sbi->comps.numdevs) { |
435 | int i = --sbi->comps.numdevs; | 435 | int i = --sbi->comps.numdevs; |
@@ -981,7 +981,7 @@ static const struct super_operations exofs_sops = { | |||
981 | * EXPORT OPERATIONS | 981 | * EXPORT OPERATIONS |
982 | *****************************************************************************/ | 982 | *****************************************************************************/ |
983 | 983 | ||
984 | struct dentry *exofs_get_parent(struct dentry *child) | 984 | static struct dentry *exofs_get_parent(struct dentry *child) |
985 | { | 985 | { |
986 | unsigned long ino = exofs_parent_ino(child); | 986 | unsigned long ino = exofs_parent_ino(child); |
987 | 987 | ||