X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=mm%2Freadahead.c;h=17b9172ec37f1ef05d49b45f244ec23f6d934ed1;hb=cee5aa1f81b1e88d8de05df226bfd207041954c2;hp=0ca36a7770b1b974eaea70d6357b7cdbd73aad3d;hpb=fad0701eaa091beb8ce5ef2eef04b5e833617368;p=deliverable%2Flinux.git diff --git a/mm/readahead.c b/mm/readahead.c index 0ca36a7770b1..17b9172ec37f 100644 --- a/mm/readahead.c +++ b/mm/readahead.c @@ -326,7 +326,6 @@ static unsigned long get_next_ra_size(struct file_ra_state *ra, * - thrashing threshold in memory tight systems */ static pgoff_t count_history_pages(struct address_space *mapping, - struct file_ra_state *ra, pgoff_t offset, unsigned long max) { pgoff_t head; @@ -349,7 +348,7 @@ static int try_context_readahead(struct address_space *mapping, { pgoff_t size; - size = count_history_pages(mapping, ra, offset, max); + size = count_history_pages(mapping, offset, max); /* * not enough history pages: