Re: [PATCH] drivers/dax: Fix typo in comment
From: Dave Jiang
Date: Mon Apr 06 2026 - 11:24:09 EST
On 4/4/26 8:19 PM, Yahu YH12 Gao wrote:
> Fix a typo in dax_copy_to_iter where "vfs_red" should be "vfs_read".
>
> Signed-off-by: Yahu Gao mailto:gaoyh12@xxxxxxxxxx
Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
>
> diff --git a/drivers/dax/super.c b/drivers/dax/super.c
> index c00b9dff4a06..e32db0eba9c1 100644
> --- a/drivers/dax/super.c
> +++ b/drivers/dax/super.c
> @@ -192,7 +192,7 @@ size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,
>
> /*
> * The userspace address for the memory copy has already been validated
> - * via access_ok() in vfs_red, so use the 'no check' version to bypass
> + * via access_ok() in vfs_read, so use the 'no check' version to bypass
> * the HARDENED_USERCOPY overhead.
> */
> if (test_bit(DAXDEV_NOMC, &dax_dev->flags))
> --
> 2.47.3
>