summaryrefslogtreecommitdiffstats
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@suse.de>2005-07-27 11:45:15 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-27 16:26:07 -0700
commit8c52ab42c11b5a7fb44bb84c954d09968e90e9e7 (patch)
treeee2496abc8d0246db90ba43b3ea9d4ddebd7b62d /fs/mbcache.c
parent3dcce8e22bf9956ac2c5233539cac07c978e58c7 (diff)
downloadlinux-stable-8c52ab42c11b5a7fb44bb84c954d09968e90e9e7.tar.gz
linux-stable-8c52ab42c11b5a7fb44bb84c954d09968e90e9e7.tar.bz2
linux-stable-8c52ab42c11b5a7fb44bb84c954d09968e90e9e7.zip
[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 <agruen@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/mbcache.c')
-rw-r--r--fs/mbcache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/mbcache.c b/fs/mbcache.c
index c7170b9221a3..b002a088857d 100644
--- a/fs/mbcache.c
+++ b/fs/mbcache.c
@@ -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;