From 78827514c865ef8da8982e15176e92ae8551dc41 Mon Sep 17 00:00:00 2001 From: roy Date: Thu, 27 Jun 2024 15:36:49 +0800 Subject: [PATCH] Fix cache leak in umount simplefs --- super.c | 1 + 1 file changed, 1 insertion(+) diff --git a/super.c b/super.c index 96ed9de..104f46c 100644 --- a/super.c +++ b/super.c @@ -29,6 +29,7 @@ int simplefs_init_inode_cache(void) void simplefs_destroy_inode_cache(void) { kmem_cache_destroy(simplefs_inode_cache); + rcu_barrier(); } static struct inode *simplefs_alloc_inode(struct super_block *sb)