Messages in this thread | | | Date | Wed, 23 Jun 2021 14:19:42 +0100 | From | Matthew Wilcox <> | Subject | Re: [PATCH v2 35/46] mm/filemap: Add folio_mkwrite_check_truncate() |
| |
On Wed, Jun 23, 2021 at 11:47:58AM +0200, Christoph Hellwig wrote: > On Tue, Jun 22, 2021 at 01:15:40PM +0100, Matthew Wilcox (Oracle) wrote: > > This is the folio equivalent of page_mkwrite_check_truncate(). > > > > Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> > > Any reason that page_mkwrite_check_truncate isn't turned into a wrapper?
It'd introduce an extra call to page_folio() for no actual benefit
| |