diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-08-22 17:28:35 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2013-08-22 17:28:35 +1000 |
commit | 29637fd05e805f5dff366b60f5cb2e037a345784 (patch) | |
tree | 3e622c515c3ddccaa7a6e3d8988eae5f2f1eb3aa /fs/xfs/xfs_super.c | |
parent | f8334e3b7cd9bf77edb7f3669de38b61ca713d8a (diff) | |
parent | a187db44dd9b24a9eed2141af962306a36935423 (diff) |
Merge branch 'akpm/master'
Diffstat (limited to 'fs/xfs/xfs_super.c')
-rw-r--r-- | fs/xfs/xfs_super.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c index 979a77d4b87d..15188cc99449 100644 --- a/fs/xfs/xfs_super.c +++ b/fs/xfs/xfs_super.c @@ -1535,19 +1535,21 @@ xfs_fs_mount( return mount_bdev(fs_type, flags, dev_name, data, xfs_fs_fill_super); } -static int +static long xfs_fs_nr_cached_objects( - struct super_block *sb) + struct super_block *sb, + int nid) { return xfs_reclaim_inodes_count(XFS_M(sb)); } -static void +static long xfs_fs_free_cached_objects( struct super_block *sb, - int nr_to_scan) + long nr_to_scan, + int nid) { - xfs_reclaim_inodes_nr(XFS_M(sb), nr_to_scan); + return xfs_reclaim_inodes_nr(XFS_M(sb), nr_to_scan); } static const struct super_operations xfs_super_operations = { |