Skip to content

Commit 7882751

Browse files
committed
Fix cache leak in umount simplefs
1 parent c65a979 commit 7882751

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ int simplefs_init_inode_cache(void)
2929
void simplefs_destroy_inode_cache(void)
3030
{
3131
kmem_cache_destroy(simplefs_inode_cache);
32+
rcu_barrier();
3233
}
3334

3435
static struct inode *simplefs_alloc_inode(struct super_block *sb)

0 commit comments

Comments
 (0)