fs: consolidate {nr,free}_cached_objects args in shrink_control
[cascardo/linux.git] / include / linux / fs.h
index cdcb1e9..a20d658 100644 (file)
@@ -1635,8 +1635,10 @@ struct super_operations {
        struct dquot **(*get_dquots)(struct inode *);
 #endif
        int (*bdev_try_to_free_page)(struct super_block*, struct page*, gfp_t);
-       long (*nr_cached_objects)(struct super_block *, int);
-       long (*free_cached_objects)(struct super_block *, long, int);
+       long (*nr_cached_objects)(struct super_block *,
+                                 struct shrink_control *);
+       long (*free_cached_objects)(struct super_block *,
+                                   struct shrink_control *);
 };
 
 /*