diff options
author | Jan Kara <jack@suse.cz> | 2017-09-07 01:21:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-07 02:27:27 +0200 |
commit | f7b68046873724129798c405e1a4e326b409c08f (patch) | |
tree | 10e685a34f8bb0a0603b04a417c72b20c398efeb /fs/buffer.c | |
parent | fs: use pagevec_lookup_range() in page_cache_seek_hole_data() (diff) | |
download | linux-f7b68046873724129798c405e1a4e326b409c08f.tar.xz linux-f7b68046873724129798c405e1a4e326b409c08f.zip |
mm: use find_get_pages_range() in filemap_range_has_page()
We want only pages from given range in filemap_range_has_page(),
furthermore we want at most a single page.
So use find_get_pages_range() instead of pagevec_lookup() and remove
unnecessary code.
Link: http://lkml.kernel.org/r/20170726114704.7626-10-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions