diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-12-03 04:25:01 +0000 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2022-01-08 05:28:41 +0000 |
| commit | fae9bc4a90176868cbbbecc693acb0ff2607818d (patch) | |
| tree | b10ea7a14846cd8ab3df9fcb8be844f756c7cfb2 /Documentation/filesystems/caching/netfs-api.rst | |
| parent | truncate: Skip known-truncated indices (diff) | |
| download | kernel-fae9bc4a90176868cbbbecc693acb0ff2607818d.tar.gz kernel-fae9bc4a90176868cbbbecc693acb0ff2607818d.zip | |
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) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Diffstat (limited to 'Documentation/filesystems/caching/netfs-api.rst')
0 files changed, 0 insertions, 0 deletions
