diff options
author | Jan Kara <jack@suse.cz> | 2017-09-07 02:21:33 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-09-07 03:27:27 +0300 |
commit | 48f2301c07b299f5bcd64563d90215a8ba73e154 (patch) | |
tree | 1fb6b9d603c6a1598668f77980cb07d54043489a /fs/buffer.c | |
parent | 2b85a6171d1370903d65cc8b84cefca26a16b5e4 (diff) | |
download | linux-48f2301c07b299f5bcd64563d90215a8ba73e154.tar.xz |
hugetlbfs: use pagevec_lookup_range() in remove_inode_hugepages()
We want only pages from given range in remove_inode_hugepages(). Use
pagevec_lookup_range() instead of pagevec_lookup().
Link: http://lkml.kernel.org/r/20170726114704.7626-8-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Nadia Yvette Chambers <nyc@holomorphy.com>
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