mm/readahead.c:do_readhead(): don't check for ->readpage
authorAndrew Morton <[email protected]>
Tue, 12 Nov 2013 23:07:09 +0000 (15:07 -0800)
committerLinus Torvalds <[email protected]>
Wed, 13 Nov 2013 03:09:02 +0000 (12:09 +0900)
commit63d0f0a3c7e1281fd79268a8d988167eff607fb6
treece153ddd335bfab61be933b136d83696e9ed9617
parent41ecc345984bcc8bf341a3e758c1eb3fc543dd83
mm/readahead.c:do_readhead(): don't check for ->readpage

The callee force_page_cache_readahead() already does this and unlike
do_readahead(), force_page_cache_readahead() remembers to check for
->readpages() as well.

Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/readahead.c