commit | 32b635298ff4e991d8d8f64dc23782b02eec29c3 | [log] [tgz] |
---|---|---|
author | Mel Gorman <mgorman@techsingularity.net> | Tue Mar 15 14:55:36 2016 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Mar 15 16:55:16 2016 -0700 |
tree | 0ef68aa7b2f91f3de5a73b203db6c99e00d2adac | |
parent | 07061aab2f750bbf61337b922aa8a245b5da85e1 [diff] |
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>