mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
[PATCH] mbcache: Remove unused mb_cache_shrink parameter
The cache parameter to mb_cache_shrink isn't used. We may as well remove it. Signed-off-by: Andreas Gruenbacher <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
3dcce8e22b
commit
8c52ab42c1
4 changed files with 4 additions and 5 deletions
|
|
@ -823,7 +823,7 @@ cleanup:
|
|||
void
|
||||
ext2_xattr_put_super(struct super_block *sb)
|
||||
{
|
||||
mb_cache_shrink(ext2_xattr_cache, sb->s_bdev);
|
||||
mb_cache_shrink(sb->s_bdev);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1106,7 +1106,7 @@ cleanup:
|
|||
void
|
||||
ext3_xattr_put_super(struct super_block *sb)
|
||||
{
|
||||
mb_cache_shrink(ext3_xattr_cache, sb->s_bdev);
|
||||
mb_cache_shrink(sb->s_bdev);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -316,11 +316,10 @@ fail:
|
|||
* currently in use cannot be freed, and thus remain in the cache. All others
|
||||
* are freed.
|
||||
*
|
||||
* @cache: which cache to shrink
|
||||
* @bdev: which device's cache entries to shrink
|
||||
*/
|
||||
void
|
||||
mb_cache_shrink(struct mb_cache *cache, struct block_device *bdev)
|
||||
mb_cache_shrink(struct block_device *bdev)
|
||||
{
|
||||
LIST_HEAD(free_list);
|
||||
struct list_head *l, *ltmp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue