shrinker: convert superblock shrinkers to new API
[firefly-linux-kernel-4.4.55.git] / fs / internal.h
index b6495659d6e84dd9d3734887404ce08e690f0c4e..cb83a3417a68d91c914b9b9aaf6099adaed20e3b 100644 (file)
@@ -114,6 +114,7 @@ extern int open_check_o_direct(struct file *f);
  * inode.c
  */
 extern spinlock_t inode_sb_list_lock;
+extern long prune_icache_sb(struct super_block *sb, unsigned long nr_to_scan);
 extern void inode_add_lru(struct inode *inode);
 
 /*
@@ -130,6 +131,7 @@ extern int invalidate_inodes(struct super_block *, bool);
  */
 extern struct dentry *__d_alloc(struct super_block *, const struct qstr *);
 extern int d_set_mounted(struct dentry *dentry);
+extern long prune_dcache_sb(struct super_block *sb, unsigned long nr_to_scan);
 
 /*
  * read_write.c