]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/super.c
Merge branch 'fixes-for-grant' of git://sources.calxeda.com/kernel/linux
[karo-tx-linux.git] / fs / super.c
index 6277ec6cb60a65e71b2c590260c67a057a1748ca..cf001775617f5781ac4f43f5695ad7802c6b4524 100644 (file)
@@ -20,7 +20,7 @@
  *  Heavily rewritten for 'one fs - one tree' dcache architecture. AV, Mar 2000
  */
 
-#include <linux/module.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/acct.h>
 #include <linux/blkdev.h>
@@ -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 */