kmemcg: account certain kmem allocations to memcg
[linux-drm-fsl-dcu.git] / fs / ocfs2 / dlmfs / dlmfs.c
index b5cf27dcb18a78c71c3ef62410c3e4e7e7e641f9..03768bb3aab154fd408679f0c3fef500efec794d 100644 (file)
@@ -638,7 +638,7 @@ static int __init init_dlmfs_fs(void)
        dlmfs_inode_cache = kmem_cache_create("dlmfs_inode_cache",
                                sizeof(struct dlmfs_inode_private),
                                0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|
-                                       SLAB_MEM_SPREAD),
+                                       SLAB_MEM_SPREAD|SLAB_ACCOUNT),
                                dlmfs_init_once);
        if (!dlmfs_inode_cache) {
                status = -ENOMEM;