diff mbox

[1/1] ext4: Add __init macro to init_inodecache

Message ID 20140201191007.59012c84446860984e6c4a76@skynet.be
State Accepted, archived
Headers show

Commit Message

Fabian Frederick Feb. 1, 2014, 11:10 a.m. UTC
init_inodecache is only called by __init init_ext4_fs.

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

Comments

Theodore Ts'o Feb. 12, 2014, 4:20 p.m. UTC | #1
On Sat, Feb 01, 2014 at 07:10:07PM +0800, Fabian Frederick wrote:
> init_inodecache is only called by __init init_ext4_fs.
> 
> Signed-off-by: Fabian Frederick <fabf@skynet.be>

Applied, thanks.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 1f7784d..9a387b8 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -940,7 +940,7 @@  static void init_once(void *foo)
 	inode_init_once(&ei->vfs_inode);
 }
 
-static int init_inodecache(void)
+static int __init init_inodecache(void)
 {
 	ext4_inode_cachep = kmem_cache_create("ext4_inode_cache",
 					     sizeof(struct ext4_inode_info),