[Devel] [PATCH RH7] ovl: account overlayfs inodes
Vasily Averin
vvs at virtuozzo.com
Sat Sep 26 11:27:50 MSK 2020
https://jira.sw.ru/browse/PSBM-108292
Signed-off-by: Vasily Averin <vvs at virtuozzo.com>
---
fs/overlayfs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/overlayfs/super.c b/fs/overlayfs/super.c
index fcb3f7aae217..d17276df439f 100644
--- a/fs/overlayfs/super.c
+++ b/fs/overlayfs/super.c
@@ -1607,7 +1607,7 @@ static int __init ovl_init(void)
ovl_inode_cachep = kmem_cache_create("ovl_inode",
sizeof(struct ovl_inode), 0,
(SLAB_RECLAIM_ACCOUNT|
- SLAB_MEM_SPREAD),
+ SLAB_MEM_SPREAD|SLAB_ACCOUNT),
ovl_inode_init_once);
if (ovl_inode_cachep == NULL)
return -ENOMEM;
--
2.17.1
More information about the Devel
mailing list