VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   35 Branches   59 Tags
author: Vladimir Davydov <vdavydov@virtuozzo.com> 2016-01-14 15:18:21 -0800 committer: Linus Torvalds <torvalds@linux-foundation.org> 2016-01-14 16:00:49 -0800 commit: 5d097056c9a017a3b720849efb5432f37acabbac parent: 37f08dda29dac8a595999b8d3eaa9bf0f763dd9d
Commit Summary:
kmemcg: account certain kmem allocations to memcg
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c
index f37b3deb01b4..3a67cfb142d8 100644
--- a/fs/qnx4/inode.c
+++ b/fs/qnx4/inode.c
@@ -365,7 +365,7 @@ static int init_inodecache(void)
 	qnx4_inode_cachep = kmem_cache_create("qnx4_inode_cache",
 					     sizeof(struct qnx4_inode_info),
 					     0, (SLAB_RECLAIM_ACCOUNT|
-						SLAB_MEM_SPREAD),
+						SLAB_MEM_SPREAD|SLAB_ACCOUNT),
 					     init_once);
 	if (qnx4_inode_cachep == NULL)
 		return -ENOMEM;