fs: Export drop_pagecache_sb symbol
authorErez Zadok <ezkcs.sunysb.edu>
Sun, 18 Mar 2007 23:24:29 +0000 (19:24 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 31 Jan 2012 04:51:15 +0000 (23:51 -0500)
Signed-off-by: Erez Zadok <ezkcs.sunysb.edu>
Signed-off-by: Josef 'Jeff' Sipek <jsipekcs.sunysb.edu>
fs/drop_caches.c

index 31f4b0e6d72c333bf1633ef51118ad6ccfc31069..0c5ee513d9b55d2c287b40b8343813a8096f772c 100644 (file)
@@ -3,6 +3,7 @@
  */
 
 #include <linux/kernel.h>
+#include <linux/module.h>
 #include <linux/mm.h>
 #include <linux/fs.h>
 #include <linux/writeback.h>
@@ -12,7 +13,7 @@
 /* A global variable is a bit ugly, but it keeps the code simple */
 int sysctl_drop_caches;
 
-static void drop_pagecache_sb(struct super_block *sb)
+void drop_pagecache_sb(struct super_block *sb)
 {
        struct inode *inode, *toput_inode = NULL;