commit | d72dc8a25afc71ce90ee92bdd77550e9beb85d4d | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Wed Sep 06 16:21:18 2017 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 06 17:27:26 2017 -0700 |
tree | da47df20fe7bd2672f8368a2545f82e17703820b | |
parent | 26b433d0da062d6e19d75350c0171d3cf8ff560d [diff] |
mm: make pagevec_lookup() update index Make pagevec_lookup() (and underlying find_get_pages()) update index to the next page where iteration should continue. Most callers want this and also pagevec_lookup_tag() already does this. Link: http://lkml.kernel.org/r/20170726114704.7626-3-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>