mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 20:30:53 +07:00
affs: add __init to init_inodecache ()
init_inodecache is only called by __init init_affs_fs Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
894122db49
commit
adbd319e5a
@ -128,7 +128,7 @@ static void init_once(void *foo)
|
|||||||
inode_init_once(&ei->vfs_inode);
|
inode_init_once(&ei->vfs_inode);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int init_inodecache(void)
|
static int __init init_inodecache(void)
|
||||||
{
|
{
|
||||||
affs_inode_cachep = kmem_cache_create("affs_inode_cache",
|
affs_inode_cachep = kmem_cache_create("affs_inode_cache",
|
||||||
sizeof(struct affs_inode_info),
|
sizeof(struct affs_inode_info),
|
||||||
|
Loading…
Reference in New Issue
Block a user