[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZB+7IUGRryHSdd2y@casper.infradead.org>
Date: Sun, 26 Mar 2023 04:25:21 +0100
From: Matthew Wilcox <willy@...radead.org>
To: Eric Biggers <ebiggers@...nel.org>
Cc: tytso@....edu, adilger.kernel@...ger.ca,
linux-ext4@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH v2 23/29] ext4: Convert ext4_mpage_readpages() to work on
folios
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.
Powered by blists - more mailing lists