On Thu, Oct 17, 2024 at 04:16:57PM +0100, Matthew Wilcox (Oracle) wrote: > @@ -219,13 +219,11 @@ static int ecryptfs_read_folio(struct file *file, struct folio *folio) > } > } > out: > - if (rc) > - ClearPageUptodate(page); > - else > - SetPageUptodate(page); > + if (!rc) > + folio_mark_uptodate(folio); > ecryptfs_printk(KERN_DEBUG, "Unlocking page with index = [0x%.16lx]\n", Nit: Unlocking folio with index .. > - page->index); -- Pankaj