]> git.baikalelectronics.ru Git - kernel.git/commit
afs: use find_get_pages_range_tag()
authorJan Kara <jack@suse.cz>
Thu, 16 Nov 2017 01:35:23 +0000 (17:35 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Nov 2017 02:21:04 +0000 (18:21 -0800)
commit015e4b1a31109532ef269e487ecdc568ec930346
treea0bf58be52c927d790c69dcdfbaa09aede0bbd87
parentef34dfdc641f830e660e40d4dff81b9e69ad91fa
afs: use find_get_pages_range_tag()

Use find_get_pages_range_tag() in afs_writepages_region() as we are
interested only in pages from given range.  Remove unnecessary code
after this conversion.

Link: http://lkml.kernel.org/r/20171009151359.31984-16-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/afs/write.c