]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/readahead.c:do_readhead(): don't check for ->readpage
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 5 Nov 2013 05:55:14 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:14 +0000 (16:55 +1100)
commit7e14a5df6568215b4beee32c77bb6631abd5ebcd
tree8ffc82128cc7265aef87e5da7c38ae7b2ae4e34e
parent25be162001ca6cb85b904597f8d340dc66dec843
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 <akpm@linux-foundation.org>
mm/readahead.c