Re: [PATCH 3/5] direct-io: Use memzero_page()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>
>






[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux