]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8b7789d54c70a744b7a5be05a4d34f8148d753e7
tree24b7cdce37d4977ce46c8820d81af9e931fb2cb4
parent9b679c59e7ca9ee24f8d51b8de0dd0e8b485110d
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