Re: [PATCH 1/1] fs/reiserfs/super.c: add __init to init_inodecache
From: Jeff Mahoney
Date: Tue Mar 25 2014 - 12:26:56 EST
On 3/21/14, 12:16 PM, Fabian Frederick wrote:
> init_inodecache is only called by __init init_reiserfs_fs.
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Acked-by: Jeff Mahoney <jeffm@xxxxxxxx>
> ---
> fs/reiserfs/super.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c
> index 2c80335..7035087 100644
> --- a/fs/reiserfs/super.c
> +++ b/fs/reiserfs/super.c
> @@ -597,7 +597,7 @@ static void init_once(void *foo)
> inode_init_once(&ei->vfs_inode);
> }
>
> -static int init_inodecache(void)
> +static int __init init_inodecache(void)
> {
> reiserfs_inode_cachep = kmem_cache_create("reiser_inode_cache",
> sizeof(struct
>
--
Jeff Mahoney
SUSE Labs
--
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/