VisionFive2 Linux kernel

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

More than 9999 Commits   32 Branches   54 Tags
author: Zhaoyang Huang <zhaoyang.huang@unisoc.com> 2021-01-05 07:48:00 -0500 committer: Bob Peterson <rpeterso@redhat.com> 2021-01-22 12:19:17 -0500 commit: 00e8e9bc3c46c95bfa191294a60beaf6d2ead01e parent: 2a6fe26ccf0bcebf469887bcc7c382d076751f4c
Commit Summary:
gfs2: amend SLAB_RECLAIM_ACCOUNT on gfs2 related slab cache
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/gfs2/main.c b/fs/gfs2/main.c
index c7393ee9cf68..28d0eb23e18e 100644
--- a/fs/gfs2/main.c
+++ b/fs/gfs2/main.c
@@ -98,7 +98,7 @@ static int __init init_gfs2_fs(void)
 	error = -ENOMEM;
 	gfs2_glock_cachep = kmem_cache_create("gfs2_glock",
 					      sizeof(struct gfs2_glock),
-					      0, 0,
+					      0, SLAB_RECLAIM_ACCOUNT,
 					      gfs2_init_glock_once);
 	if (!gfs2_glock_cachep)
 		goto fail_cachep1;
@@ -134,7 +134,7 @@ static int __init init_gfs2_fs(void)
 
 	gfs2_quotad_cachep = kmem_cache_create("gfs2_quotad",
 					       sizeof(struct gfs2_quota_data),
-					       0, 0, NULL);
+					       0, SLAB_RECLAIM_ACCOUNT, NULL);
 	if (!gfs2_quotad_cachep)
 		goto fail_cachep6;