OSDN Git Service

ext4: use pagevec_lookup_range() in writeback code
authorJan Kara <jack@suse.cz>
Wed, 6 Sep 2017 23:21:30 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 7 Sep 2017 00:27:27 +0000 (17:27 -0700)
commit2b85a6171d1370903d65cc8b84cefca26a16b5e4
tree24b7cdce37d4977ce46c8820d81af9e931fb2cb4
parentdec0da7b608253b004daea1da5bd82b3b292ba0f
ext4: use pagevec_lookup_range() in writeback code

Both occurences of pagevec_lookup() actually want only pages from a
given range.  Use pagevec_lookup_range() for the lookup.

Link: http://lkml.kernel.org/r/20170726114704.7626-7-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ext4/inode.c