Merge branch 'stable/cleancache.v13' into linux-next
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / fs / super.c
index 6277ec6cb60a65e71b2c590260c67a057a1748ca..fe5a7b3a113450d7a86d436c7ce714b49a7f5c64 100644 (file)
@@ -250,7 +250,7 @@ void deactivate_locked_super(struct super_block *s)
 {
        struct file_system_type *fs = s->s_type;
        if (atomic_dec_and_test(&s->s_active)) {
-               cleancache_flush_fs(s);
+               cleancache_invalidate_fs(s);
                fs->kill_sb(s);
 
                /* caches are now gone, we can safely kill the shrinker now */