mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] fs/isofs/inode.c add __init to init_inodecache()
@ 2014-03-10 21:01 Fabian Frederick
  2014-03-12 21:53 ` Jan Kara
  0 siblings, 1 reply; 2+ messages in thread
From: Fabian Frederick @ 2014-03-10 21:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, viro

init_inodecache is only called by __init init_iso9660_fs

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 fs/isofs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
index 4a9e10e..7df1914 100644
--- a/fs/isofs/inode.c
+++ b/fs/isofs/inode.c
@@ -93,7 +93,7 @@ static void init_once(void *foo)
 	inode_init_once(&ei->vfs_inode);
 }
 
-static int init_inodecache(void)
+static int __init init_inodecache(void)
 {
 	isofs_inode_cachep = kmem_cache_create("isofs_inode_cache",
 					sizeof(struct iso_inode_info),
-- 
1.8.1.4


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

* Re: [PATCH 1/1] fs/isofs/inode.c add __init to init_inodecache()
  2014-03-10 21:01 [PATCH 1/1] fs/isofs/inode.c add __init to init_inodecache() Fabian Frederick
@ 2014-03-12 21:53 ` Jan Kara
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kara @ 2014-03-12 21:53 UTC (permalink / raw)
  To: Fabian Frederick; +Cc: linux-kernel, akpm, viro

On Mon 10-03-14 22:01:48, Fabian Frederick wrote:
> init_inodecache is only called by __init init_iso9660_fs
  Thanks. I've merged the patch to my tree.

								Honza

> 
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
> ---
>  fs/isofs/inode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
> index 4a9e10e..7df1914 100644
> --- a/fs/isofs/inode.c
> +++ b/fs/isofs/inode.c
> @@ -93,7 +93,7 @@ static void init_once(void *foo)
>  	inode_init_once(&ei->vfs_inode);
>  }
>  
> -static int init_inodecache(void)
> +static int __init init_inodecache(void)
>  {
>  	isofs_inode_cachep = kmem_cache_create("isofs_inode_cache",
>  					sizeof(struct iso_inode_info),
> -- 
> 1.8.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
Jan Kara <jack@suse.cz>
SUSE Labs, CR

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

end of thread, other threads:[~2014-03-12 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10 21:01 [PATCH 1/1] fs/isofs/inode.c add __init to init_inodecache() Fabian Frederick
2014-03-12 21:53 ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome