aboutsummaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2010-05-24 17:32:36 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 11:07:00 -0400
commitbf8abe8b926f7546eb763fd2a088fe461dde6317 (patch)
treee9bba65d267d974c2c429b01dde393363789ee7f /mm/readahead.c
parent76a33fc380c9a65e01eb15b3b87c05863a0d51db (diff)
readahead.c: fix comment
Fix a wrong comment over page_cache_async_readahead(). Signed-off-by: Huang Shijie <shijie8@gmail.com> Acked-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/readahead.c')
-rw-r--r--mm/readahead.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/readahead.c b/mm/readahead.c
index dfa9a1a03a11..77506a291a2d 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
@@ -523,7 +523,7 @@ EXPORT_SYMBOL_GPL(page_cache_sync_readahead);
523 * @req_size: hint: total size of the read which the caller is performing in 523 * @req_size: hint: total size of the read which the caller is performing in
524 * pagecache pages 524 * pagecache pages
525 * 525 *
526 * page_cache_async_ondemand() should be called when a page is used which 526 * page_cache_async_readahead() should be called when a page is used which
527 * has the PG_readahead flag; this is a marker to suggest that the application 527 * has the PG_readahead flag; this is a marker to suggest that the application
528 * has used up enough of the readahead window that we should start pulling in 528 * has used up enough of the readahead window that we should start pulling in
529 * more pages. 529 * more pages.