lkml.org 
[lkml]   [2014]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] fs/reiserfs/super.c: add __init to init_inodecache
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@skynet.be>
Acked-by: Jeff Mahoney <jeffm@suse.com>
> ---
> 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


\
 
 \ /
  Last update: 2014-03-25 18:01    [W:0.040 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site