]> git.baikalelectronics.ru Git - kernel.git/commit
mm/readahead.c:do_readhead(): don't check for ->readpage
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 12 Nov 2013 23:07:09 +0000 (15:07 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:02 +0000 (12:09 +0900)
commit2341e52e63f5e72aa5c3f103970609930394c67c
treece153ddd335bfab61be933b136d83696e9ed9617
parent9b1dd78d613b2f483f9e8474dbc52f38df17bb4d
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/readahead.c