GIT: unionfs2-2.6.27.y: fs: Export drop_pagecache_sb symbol

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:15:56 EDT 2010


commit bed3ec97b07a7ab81bbb090e9a2390db848842fd
Author: Erez Zadok <ezkcs.sunysb.edu>
Date:   Sun Mar 18 19:24:29 2007 -0400

    fs: Export drop_pagecache_sb symbol
    
    Signed-off-by: Erez Zadok <ezkcs.sunysb.edu>
    Signed-off-by: Josef 'Jeff' Sipek <jsipekcs.sunysb.edu>

diff --git a/fs/drop_caches.c b/fs/drop_caches.c
index f7e66c0..e58f51d 100644
--- a/fs/drop_caches.c
+++ b/fs/drop_caches.c
@@ -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;
 


More information about the unionfs-cvs mailing list