Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d21a5197 authored by Adek Maulana's avatar Adek Maulana Committed by Andreas Schneider
Browse files

fs: 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: default avatarAdek Maulana <adekzmaulana@gmail.com>
parent 00c2d51b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4961,6 +4961,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);
}