diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-04-02 10:23:29 -0400 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2014-04-03 04:36:42 -0400 |
commit | af8d0cc0d2271f45b0967578f9310b3ee9b9082a (patch) | |
tree | 0365cf029a2cf4ae7433666b701a308367e4830f /fs/exofs | |
parent | b098d6726bbfb94c06d6e1097466187afddae61f (diff) |
fs: Mark function as static in exofs/super.c
Mark function as static in exofs/super.c because it is not used outside
this file.
This also eliminates the following warning in exofs/super.c:
fs/exofs/super.c:546:5: warning: no previous prototype \
for __alloc_dev_table[-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/exofs')
-rw-r--r-- | fs/exofs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/super.c b/fs/exofs/super.c index 9d9763328734..ed73ed8ebbee 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c | |||
@@ -543,7 +543,7 @@ static int exofs_devs_2_odi(struct exofs_dt_device_info *dt_dev, | |||
543 | return !(odi->systemid_len || odi->osdname_len); | 543 | return !(odi->systemid_len || odi->osdname_len); |
544 | } | 544 | } |
545 | 545 | ||
546 | int __alloc_dev_table(struct exofs_sb_info *sbi, unsigned numdevs, | 546 | static int __alloc_dev_table(struct exofs_sb_info *sbi, unsigned numdevs, |
547 | struct exofs_dev **peds) | 547 | struct exofs_dev **peds) |
548 | { | 548 | { |
549 | struct __alloc_ore_devs_and_exofs_devs { | 549 | struct __alloc_ore_devs_and_exofs_devs { |