On Fri, Mar 24, 2023 at 03:29:51PM -0700, Eric Biggers wrote: > On Fri, Mar 24, 2023 at 06:01:23PM +0000, Matthew Wilcox (Oracle) wrote: > > if (first_hole != blocks_per_page) { > > - zero_user_segment(page, first_hole << blkbits, > > - PAGE_SIZE); > > + folio_zero_segment(folio, first_hole << blkbits, > > + folio_size(folio)); > > if (first_hole == 0) { > > - if (ext4_need_verity(inode, page->index) && > > - !fsverity_verify_page(page)) > > + if (ext4_need_verity(inode, folio->index) && > > + !fsverity_verify_page(&folio->page)) > > goto set_error_page; > > This can use fsverity_verify_folio(). Thanks! Ted, let me know if you want a resend with this fixed, or if you'll do it yourself.