diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-12-02 21:01:55 +0000 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2022-01-08 05:28:41 +0000 |
| commit | 1e84a3d997b74c33491899e31d48774f252213ab (patch) | |
| tree | 8d187a44f9360b3c7fd73304939d331e05fc4682 /Documentation/filesystems/caching/netfs-api.rst | |
| parent | shmem: Convert part of shmem_undo_range() to use a folio (diff) | |
| download | kernel-1e84a3d997b74c33491899e31d48774f252213ab.tar.gz kernel-1e84a3d997b74c33491899e31d48774f252213ab.zip | |
truncate,shmem: Add truncate_inode_folio()
Convert all callers of truncate_inode_page() to call
truncate_inode_folio() instead, and move the declaration to mm/internal.h.
Move the assertion that the caller is not passing in a tail page to
generic_error_remove_page(). We can't entirely remove the struct page
from the callers yet 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
