diff options
author | Mel Gorman <mgorman@techsingularity.net> | 2016-03-16 00:55:36 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-16 02:55:16 +0300 |
commit | 32b635298ff4e991d8d8f64dc23782b02eec29c3 (patch) | |
tree | 0ef68aa7b2f91f3de5a73b203db6c99e00d2adac /drivers/md | |
parent | 07061aab2f750bbf61337b922aa8a245b5da85e1 (diff) | |
download | linux-32b635298ff4e991d8d8f64dc23782b02eec29c3.tar.xz |
mm: filemap: remove redundant code in do_read_cache_page
do_read_cache_page and __read_cache_page duplicate page filler code when
filling the page for the first time. This patch simply removes the
duplicate logic.
Signed-off-by: Mel Gorman <mgorman@techsingularity.net>
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions