diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2011-10-18 16:57:51 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-10-18 16:57:51 +0200 |
commit | e0cbee3e14195ef07b8ab6ff30930fb93d2e510a (patch) | |
tree | c1bdcede0da0bbc1f06b3335d5c35ebc8011e72b /fs/ext4/ialloc.c | |
parent | ext4: add block plug for .writepages (diff) | |
download | linux-e0cbee3e14195ef07b8ab6ff30930fb93d2e510a.tar.xz linux-e0cbee3e14195ef07b8ab6ff30930fb93d2e510a.zip |
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: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to '')
-rw-r--r-- | fs/ext4/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index 04219988e75f..e007fecdaedc 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c @@ -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 * 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) { struct ext4_group_info *grp = ext4_get_group_info(sb, group); |