projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53ea18d
)
ext2: Add __init macro to init_inodecache
author
Fabian Frederick
<fabf@skynet.be>
Sat, 1 Feb 2014 08:02:02 +0000
(16:02 +0800)
committer
Jan Kara
<jack@suse.cz>
Mon, 3 Mar 2014 10:30:58 +0000
(11:30 +0100)
init_inodecache is only called by __init init_ext2_fs.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c
patch
|
blob
|
history
diff --git
a/fs/ext2/super.c
b/fs/ext2/super.c
index 20d6697bd6386560a679dda5e8b8592a65d63798..73d80da25acd32f0a0c6a95dc156e1417278c071 100644
(file)
--- a/
fs/ext2/super.c
+++ b/
fs/ext2/super.c
@@
-192,7
+192,7
@@
static void init_once(void *foo)
inode_init_once(&ei->vfs_inode);
}
-static int init_inodecache(void)
+static int
__init
init_inodecache(void)
{
ext2_inode_cachep = kmem_cache_create("ext2_inode_cache",
sizeof(struct ext2_inode_info),