Re: [PATCH 1/3] ext4: remove incorrect 'extern' keyword for function-definition

From: Yong Zhang
Date: Thu May 05 2011 - 05:25:32 EST


On Thu, May 5, 2011 at 4:51 PM, Robin Dong <hao.bigrat@xxxxxxxxx> wrote:
> Signed-off-by: Robin Dong <sanbai@xxxxxxxxxx>
> ---
> Â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 1ce240a..d4929ae 100644
> --- a/fs/ext4/ialloc.c
> +++ b/fs/ext4/ialloc.c
> @@ -1229,7 +1229,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,

Is there any difference with your modification?

Thanks,
Yong

> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â int barrier)
> Â{
> Â Â Â Âstruct ext4_group_info *grp = ext4_get_group_info(sb, group);
> --
> 1.7.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at Âhttp://vger.kernel.org/majordomo-info.html
> Please read the FAQ at Âhttp://www.tux.org/lkml/
>



--
Only stand for myself
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/