aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/readahead.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/readahead.c b/mm/readahead.c
index 56731158309b..16378b90843e 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
@@ -403,6 +403,7 @@ ondemand_readahead(struct address_space *mapping,
403 403
404 ra->start = start; 404 ra->start = start;
405 ra->size = start - offset; /* old async_size */ 405 ra->size = start - offset; /* old async_size */
406 ra->size += req_size;
406 ra->size = get_next_ra_size(ra, max); 407 ra->size = get_next_ra_size(ra, max);
407 ra->async_size = ra->size; 408 ra->async_size = ra->size;
408 goto readit; 409 goto readit;