diff options
Diffstat (limited to 'fs/drop_caches.c')
-rw-r--r-- | fs/drop_caches.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/drop_caches.c b/fs/drop_caches.c index d7ca3d3a9..d72d52b90 100644 --- a/fs/drop_caches.c +++ b/fs/drop_caches.c @@ -8,14 +8,11 @@ #include <linux/writeback.h> #include <linux/sysctl.h> #include <linux/gfp.h> -#include <linux/export.h> #include "internal.h" /* A global variable is a bit ugly, but it keeps the code simple */ int sysctl_drop_caches; -extern void iterate_supers_no_sb_lock(void (*f)(struct super_block *, void *), void *arg); - static void drop_pagecache_sb(struct super_block *sb, void *unused) { struct inode *inode, *toput_inode = NULL; @@ -42,12 +39,6 @@ static void drop_pagecache_sb(struct super_block *sb, void *unused) iput(toput_inode); } -/* For TuxOnIce */ -void drop_pagecache(void) -{ - iterate_supers_no_sb_lock(drop_pagecache_sb, NULL); -} - int drop_caches_sysctl_handler(struct ctl_table *table, int write, void __user *buffer, size_t *length, loff_t *ppos) { |