sdfat: push rcu_barrier() from deactivate_locked_super() to filesystems

* This was introduce in:
  https://github.com/torvalds/linux/commit/8c0a853

Change-Id: Ia2488bac7937b35509a547ea387c2fed5303ffac
Signed-off-by: Adek Maulana <adekzmaulana@gmail.com>
This commit is contained in:
Adek Maulana 2018-05-22 03:33:32 +07:00 committed by syphyr
parent fb242b83c3
commit c112703e47
1 changed files with 5 additions and 0 deletions

View File

@ -5040,6 +5040,11 @@ static int __init sdfat_init_inodecache(void)
static void sdfat_destroy_inodecache(void)
{
/*
* Make sure all delayed rcu free inodes are flushed before we
* destroy cache.
*/
rcu_barrier();
kmem_cache_destroy(sdfat_inode_cachep);
}