fs: fat: fix spelling typo of values
diff mbox series

Message ID 20210302034817.30384-1-dingsenjie@163.com
State In Next
Commit 484637bda13ae23cb99ef62059aeb7c6064bc2b5
Headers show
Series
  • fs: fat: fix spelling typo of values
Related show

Commit Message

dingsenjie@163.com March 2, 2021, 3:48 a.m. UTC
From: dingsenjie <dingsenjie@yulong.com>

vaules -> values

Signed-off-by: dingsenjie <dingsenjie@yulong.com>
---
 fs/fat/fatent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

OGAWA Hirofumi March 2, 2021, 6:10 a.m. UTC | #1
dingsenjie@163.com writes:

> From: dingsenjie <dingsenjie@yulong.com>
>
> vaules -> values
>
> Signed-off-by: dingsenjie <dingsenjie@yulong.com>

Thanks.

Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

> ---
>  fs/fat/fatent.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
> index f7e3304..860e884 100644
> --- a/fs/fat/fatent.c
> +++ b/fs/fat/fatent.c
> @@ -771,7 +771,7 @@ int fat_trim_fs(struct inode *inode, struct fstrim_range *range)
>  	/*
>  	 * FAT data is organized as clusters, trim at the granulary of cluster.
>  	 *
> -	 * fstrim_range is in byte, convert vaules to cluster index.
> +	 * fstrim_range is in byte, convert values to cluster index.
>  	 * Treat sectors before data region as all used, not to trim them.
>  	 */
>  	ent_start = max_t(u64, range->start>>sbi->cluster_bits, FAT_START_ENT);

Patch
diff mbox series

diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
index f7e3304..860e884 100644
--- a/fs/fat/fatent.c
+++ b/fs/fat/fatent.c
@@ -771,7 +771,7 @@  int fat_trim_fs(struct inode *inode, struct fstrim_range *range)
 	/*
 	 * FAT data is organized as clusters, trim at the granulary of cluster.
 	 *
-	 * fstrim_range is in byte, convert vaules to cluster index.
+	 * fstrim_range is in byte, convert values to cluster index.
 	 * Treat sectors before data region as all used, not to trim them.
 	 */
 	ent_start = max_t(u64, range->start>>sbi->cluster_bits, FAT_START_ENT);