]> Pileus Git - ~andy/linux/blobdiff - fs/super.c
Merge tag 'nfs-for-3.4-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
[~andy/linux] / fs / super.c
index 6277ec6cb60a65e71b2c590260c67a057a1748ca..7fcb1354c554e306162b06133c05c73390a383e0 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/backing-dev.h>
 #include <linux/rculist_bl.h>
 #include <linux/cleancache.h>
+#include <linux/fsnotify.h>
 #include "internal.h"
 
 
@@ -250,7 +251,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 */