diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2021-12-03 07:25:01 +0300 |
---|---|---|
committer | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-01-08 08:28:41 +0300 |
commit | fae9bc4a90176868cbbbecc693acb0ff2607818d (patch) | |
tree | b10ea7a14846cd8ab3df9fcb8be844f756c7cfb2 /mm/internal.h | |
parent | ccbbf761d440b0d5afcbf232db37435dc38d6161 (diff) | |
download | linux-fae9bc4a90176868cbbbecc693acb0ff2607818d.tar.xz |
truncate: Convert invalidate_inode_pages2_range() to use a folio
If we're going to unmap a folio, we have to be sure to unmap the entire
folio, not just the part of it which lies after the search index.
We cannot yet remove the struct page from invalidate_inode_pages2_range()
because the page pointer in the pvec might be a shadow/dax/swap entry
instead of actually a page.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Diffstat (limited to 'mm/internal.h')
0 files changed, 0 insertions, 0 deletions