Remove unused scoutfs_free_unused_locks nr arg

The nr argument wasn't used.  It always tries to free as many as the
shrinker call will let it.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2021-04-21 12:17:33 -07:00
parent 94dd86f762
commit dfc2f7a4e8
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1571,7 +1571,7 @@ out:
return ret;
}
void scoutfs_free_unused_locks(struct super_block *sb, unsigned long nr)
void scoutfs_free_unused_locks(struct super_block *sb)
{
struct lock_info *linfo = SCOUTFS_SB(sb)->lock_info;
struct shrink_control sc = {