Good cleanup. Reviewed-by: Alex Markuze amarkuze@xxxxxxxxxx On Thu, Jun 12, 2025 at 5:36 PM Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> wrote: > > memzero_page() is the new name for zero_user(). > > Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> > --- > fs/direct-io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/direct-io.c b/fs/direct-io.c > index bbd05f1a2145..111958634def 100644 > --- a/fs/direct-io.c > +++ b/fs/direct-io.c > @@ -996,7 +996,7 @@ static int do_direct_IO(struct dio *dio, struct dio_submit *sdio, > dio_unpin_page(dio, page); > goto out; > } > - zero_user(page, from, 1 << blkbits); > + memzero_page(page, from, 1 << blkbits); > sdio->block_in_file++; > from += 1 << blkbits; > dio->result += 1 << blkbits; > -- > 2.47.2 > >