Re: [PATCH 1/1] ext3: Add __init macro to init_inodecache

From: Jan Kara
Date: Mon Feb 03 2014 - 18:55:59 EST


On Sat 01-02-14 19:13:00, Fabian Frederick wrote:
> init_inodecache is only called by __init init_ext3_fs.
Thanks. Added to my tree.

Honza

>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
> ---
> fs/ext3/super.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/ext3/super.c b/fs/ext3/super.c
> index 37fd31e..94608d4 100644
> --- a/fs/ext3/super.c
> +++ b/fs/ext3/super.c
> @@ -527,7 +527,7 @@ static void init_once(void *foo)
> inode_init_once(&ei->vfs_inode);
> }
>
> -static int init_inodecache(void)
> +static int __init init_inodecache(void)
> {
> ext3_inode_cachep = kmem_cache_create("ext3_inode_cache",
> sizeof(struct ext3_inode_info),
> --
> 1.8.1.4
>
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
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/