summaryrefslogtreecommitdiffstats
path: root/mm/readahead.c
diff options
context:
space:
mode:
authorHuang Shijie <shijie8@gmail.com>2010-05-24 23:32:36 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-25 17:07:00 +0200
commitbf8abe8b926f7546eb763fd2a088fe461dde6317 (patch)
treee9bba65d267d974c2c429b01dde393363789ee7f /mm/readahead.c
parentvmscan: prevent get_scan_ratio() rounding errors (diff)
downloadlinux-bf8abe8b926f7546eb763fd2a088fe461dde6317.tar.xz
linux-bf8abe8b926f7546eb763fd2a088fe461dde6317.zip
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);
* @req_size: hint: total size of the read which the caller is performing in
* pagecache pages
*
- * page_cache_async_ondemand() should be called when a page is used which
+ * page_cache_async_readahead() should be called when a page is used which
* has the PG_readahead flag; this is a marker to suggest that the application
* has used up enough of the readahead window that we should start pulling in
* more pages.