Thread (126 messages) 126 messages, 6 authors, 2022-01-08

Re: [PATCH 35/48] truncate,shmem: Add truncate_inode_folio()

From: Christoph Hellwig <hch@infradead.org>
Date: 2021-12-23 08:21:42

On Wed, Dec 08, 2021 at 04:22:43AM +0000, Matthew Wilcox (Oracle) wrote:
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) <willy@infradead.org>
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help