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

2014-02-03 Thread Jan Kara
On Sat 01-02-14 15:45:18, Fabian Frederick wrote:
> init_inodecache is only called by __init init_udf_fs.
  Thanks. Added to my tree.

Honza

> 
> Signed-off-by: Fabian Frederick 
> ---
>  fs/udf/super.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/udf/super.c b/fs/udf/super.c
> index 3306b9f..6a14649 100644
> --- a/fs/udf/super.c
> +++ b/fs/udf/super.c
> @@ -175,7 +175,7 @@ static void init_once(void *foo)
>   inode_init_once(&ei->vfs_inode);
>  }
>  
> -static int init_inodecache(void)
> +static int __init init_inodecache(void)
>  {
>   udf_inode_cachep = kmem_cache_create("udf_inode_cache",
>sizeof(struct udf_inode_info),
> -- 
> 1.8.1.4
> 
-- 
Jan Kara 
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 1/1] udf: Add __init macro to init_inodecache

2014-02-01 Thread Fabian Frederick
init_inodecache is only called by __init init_udf_fs.

Signed-off-by: Fabian Frederick 
---
 fs/udf/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/udf/super.c b/fs/udf/super.c
index 3306b9f..6a14649 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -175,7 +175,7 @@ static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
 }
 
-static int init_inodecache(void)
+static int __init init_inodecache(void)
 {
udf_inode_cachep = kmem_cache_create("udf_inode_cache",
 sizeof(struct udf_inode_info),
-- 
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/