Skip to content
Commit 63d0f0a3 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 41ecc345
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment