commit | 7b774aab7941e195d3130caa856da6904333988b | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Fri Dec 03 08:50:01 2021 -0500 |
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | Sat Jan 08 00:28:41 2022 -0500 |
tree | 8e226d20f5a1f82946e54c4303f393d909bdf769 | |
parent | 3506659e18a61ae525f3b9b4f5af23b4b149d4db [diff] |
shmem: Convert part of shmem_undo_range() to use a folio find_lock_entries() never returns tail pages. We cannot use page_folio() here as the pagevec may also contain swap entries, so simply cast for now. This is an intermediate step which will be fully removed by the end of this series. Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: William Kucharski <william.kucharski@oracle.com>