diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-04-03 17:50:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-03 19:21:26 -0400 |
commit | ea0856cd503e06d4e86a9171491ab9fcf7a2e741 (patch) | |
tree | b95e13f626d68ce60afec54f215ab667a4c6d536 /fs/reiserfs | |
parent | c11e614d712c4f3e89f31a0119111c01163f1508 (diff) |
fs/reiserfs: move prototype declaration to header file
Move prototype declaration to header file reiserfs/reiserfs.h from
reiserfs/super.c because they are used by more than one file.
This eliminates the following warning in reiserfs/bitmap.c:
fs/reiserfs/bitmap.c:647:6: warning: no previous prototype for `show_alloc_options' [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/reiserfs')
-rw-r--r-- | fs/reiserfs/reiserfs.h | 1 | ||||
-rw-r--r-- | fs/reiserfs/super.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/reiserfs.h b/fs/reiserfs/reiserfs.h index 8d06adf89948..83d4eac8059a 100644 --- a/fs/reiserfs/reiserfs.h +++ b/fs/reiserfs/reiserfs.h | |||
@@ -2831,6 +2831,7 @@ void reiserfs_init_alloc_options(struct super_block *s); | |||
2831 | */ | 2831 | */ |
2832 | __le32 reiserfs_choose_packing(struct inode *dir); | 2832 | __le32 reiserfs_choose_packing(struct inode *dir); |
2833 | 2833 | ||
2834 | void show_alloc_options(struct seq_file *seq, struct super_block *s); | ||
2834 | int reiserfs_init_bitmap_cache(struct super_block *sb); | 2835 | int reiserfs_init_bitmap_cache(struct super_block *sb); |
2835 | void reiserfs_free_bitmap_cache(struct super_block *sb); | 2836 | void reiserfs_free_bitmap_cache(struct super_block *sb); |
2836 | void reiserfs_cache_bitmap_metadata(struct super_block *sb, struct buffer_head *bh, struct reiserfs_bitmap_info *info); | 2837 | void reiserfs_cache_bitmap_metadata(struct super_block *sb, struct buffer_head *bh, struct reiserfs_bitmap_info *info); |
diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index 2c803353f8ac..16d533597065 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c | |||
@@ -62,7 +62,6 @@ static int is_any_reiserfs_magic_string(struct reiserfs_super_block *rs) | |||
62 | 62 | ||
63 | static int reiserfs_remount(struct super_block *s, int *flags, char *data); | 63 | static int reiserfs_remount(struct super_block *s, int *flags, char *data); |
64 | static int reiserfs_statfs(struct dentry *dentry, struct kstatfs *buf); | 64 | static int reiserfs_statfs(struct dentry *dentry, struct kstatfs *buf); |
65 | void show_alloc_options(struct seq_file *seq, struct super_block *s); | ||
66 | 65 | ||
67 | static int reiserfs_sync_fs(struct super_block *s, int wait) | 66 | static int reiserfs_sync_fs(struct super_block *s, int wait) |
68 | { | 67 | { |