kmemcg: account certain kmem allocations to memcg
[deliverable/linux.git] / fs / hfs / super.c
index 4574fdd3d4219f86aa779f0012cee42252a7ea10..1ca95c232bb5c7d071250f46bed489a73b807abd 100644 (file)
@@ -483,8 +483,8 @@ static int __init init_hfs_fs(void)
        int err;
 
        hfs_inode_cachep = kmem_cache_create("hfs_inode_cache",
-               sizeof(struct hfs_inode_info), 0, SLAB_HWCACHE_ALIGN,
-               hfs_init_once);
+               sizeof(struct hfs_inode_info), 0,
+               SLAB_HWCACHE_ALIGN|SLAB_ACCOUNT, hfs_init_once);
        if (!hfs_inode_cachep)
                return -ENOMEM;
        err = register_filesystem(&hfs_fs_type);
This page took 0.03485 seconds and 5 git commands to generate.