reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] fs/reiserfs/super.c: add __init to init_inodecache
@ 2014-03-21 16:16 Fabian Frederick
  2014-03-25 16:26 ` Jeff Mahoney
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frederick @ 2014-03-21 16:16 UTC (permalink / raw)
  To: linux-kernel; +Cc: reiserfs-devel, akpm

init_inodecache is only called by __init init_reiserfs_fs.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 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
-- 
1.8.4.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] fs/reiserfs/super.c: add __init to init_inodecache
  2014-03-21 16:16 [PATCH 1/1] fs/reiserfs/super.c: add __init to init_inodecache Fabian Frederick
@ 2014-03-25 16:26 ` Jeff Mahoney
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Mahoney @ 2014-03-25 16:26 UTC (permalink / raw)
  To: Fabian Frederick, linux-kernel; +Cc: reiserfs-devel, akpm

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-03-25 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-21 16:16 [PATCH 1/1] fs/reiserfs/super.c: add __init to init_inodecache Fabian Frederick
2014-03-25 16:26 ` Jeff Mahoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).