Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

Commit

Permalink
exfat: push rcu_barrier() from deactivate_locked_super() to filesystems
Browse files Browse the repository at this point in the history
* This was introduce in:
  torvalds/linux@8c0a853

Signed-off-by: Adek Maulana <adekzmaulana@gmail.com>
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
  • Loading branch information
adekmaulana authored and arter97 committed Sep 14, 2019
1 parent 0085001 commit d53392f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions super.c
Original file line number Diff line number Diff line change
Expand Up @@ -3697,6 +3697,11 @@ static int __init exfat_init_inodecache(void)

static void exfat_destroy_inodecache(void)
{
/*
* Make sure all delayed rcu free inodes are flushed before we
* destroy cache.
*/
rcu_barrier();
kmem_cache_destroy(exfat_inode_cachep);
}

Expand Down

0 comments on commit d53392f

Please sign in to comment.