fs: Mark function as static in exofs/super.c
authorRashika Kheria <rashika.kheria@gmail.com>
Wed, 2 Apr 2014 14:23:29 +0000 (17:23 +0300)
committerBoaz Harrosh <bharrosh@panasas.com>
Thu, 3 Apr 2014 08:36:42 +0000 (11:36 +0300)
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>
fs/exofs/super.c

index 9d9763328734e63e27ce6ef6f364518cb7f602c0..ed73ed8ebbeea878073c6e6f6043df9e11bda1c4 100644 (file)
@@ -543,7 +543,7 @@ static int exofs_devs_2_odi(struct exofs_dt_device_info *dt_dev,
        return !(odi->systemid_len || odi->osdname_len);
 }
 
-int __alloc_dev_table(struct exofs_sb_info *sbi, unsigned numdevs,
+static int __alloc_dev_table(struct exofs_sb_info *sbi, unsigned numdevs,
                      struct exofs_dev **peds)
 {
        struct __alloc_ore_devs_and_exofs_devs {
This page took 0.028833 seconds and 5 git commands to generate.