Commit e0cbee3e authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Theodore Ts'o

ext4: functions should not be declared extern

The function declarations in ext4.h are already marked extern, so it's
not necessary to do so in the .c files.

This quiets the sparse noise:

warning: function 'ext4_flush_completed_IO' with external linkage has definition
warning: function 'ext4_init_inode_table' with external linkage has definition
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 1bce63d1
...@@ -75,7 +75,7 @@ static void dump_completed_IO(struct inode * inode) ...@@ -75,7 +75,7 @@ static void dump_completed_IO(struct inode * inode)
* to written. * to written.
* The function return the number of pending IOs on success. * The function return the number of pending IOs on success.
*/ */
extern int ext4_flush_completed_IO(struct inode *inode) int ext4_flush_completed_IO(struct inode *inode)
{ {
ext4_io_end_t *io; ext4_io_end_t *io;
struct ext4_inode_info *ei = EXT4_I(inode); struct ext4_inode_info *ei = EXT4_I(inode);
......
...@@ -1100,7 +1100,7 @@ unsigned long ext4_count_dirs(struct super_block * sb) ...@@ -1100,7 +1100,7 @@ unsigned long ext4_count_dirs(struct super_block * sb)
* inode allocation from the current group, so we take alloc_sem lock, to * inode allocation from the current group, so we take alloc_sem lock, to
* block ext4_claim_inode until we are finished. * block ext4_claim_inode until we are finished.
*/ */
extern int ext4_init_inode_table(struct super_block *sb, ext4_group_t group, int ext4_init_inode_table(struct super_block *sb, ext4_group_t group,
int barrier) int barrier)
{ {
struct ext4_group_info *grp = ext4_get_group_info(sb, group); struct ext4_group_info *grp = ext4_get_group_info(sb, group);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment