Remove the unused @ra_max from thrashing_recovery_readahead(). Signed-off-by: Fengguang Wu --- mm/readahead.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) --- linux-2.6.21-rc3-mm2.orig/mm/readahead.c +++ linux-2.6.21-rc3-mm2/mm/readahead.c @@ -1567,9 +1567,8 @@ try_backward_prefetching(struct file_ra_ * Readahead thrashing recovery. */ static unsigned long -thrashing_recovery_readahead(struct address_space *mapping, - struct file *filp, struct file_ra_state *ra, - pgoff_t offset, unsigned long ra_max) +thrashing_recovery_readahead(struct address_space *mapping, struct file *filp, + struct file_ra_state *ra, pgoff_t offset) { unsigned long ra_size; int unbalanced_aging = probe_page(mapping, offset - 1); @@ -1682,8 +1681,7 @@ page_cache_readahead_adaptive(struct add * Recover from possible thrashing. */ if (!page && offset - ra->prev_page <= 1 && ra_has_index(ra, offset)) - return thrashing_recovery_readahead(mapping, filp, ra, - offset, ra_max); + return thrashing_recovery_readahead(mapping, filp, ra, offset); /* * State based sequential read-ahead. -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/