diff options
author | Jan Kara <jack@suse.cz> | 2017-11-15 17:35:09 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-11-15 18:21:04 -0800 |
commit | 2b9775ae422fa46b4aee2bb2a8d2184a5a3b90e0 (patch) | |
tree | c9ddb86cd863d381b72594fbbce2e693c2b780bc /include/linux/pagevec.h | |
parent | 312e9d2f7053f480627dcaf5e14f9cae78e3715a (diff) |
mm: use pagevec_lookup_range_tag() in write_cache_pages()
Use pagevec_lookup_range_tag() in write_cache_pages() as it is
interested only in pages from given range. Remove unnecessary code
resulting from this.
Link: http://lkml.kernel.org/r/20171009151359.31984-12-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pagevec.h')
0 files changed, 0 insertions, 0 deletions