* [PATCH] fs/fat: fix typos in comments
@ 2026-11-26 21:37 Artem Novak
2026-11-28 7:54 ` OGAWA Hirofumi
0 siblings, 1 reply; 2+ messages in thread
From: Artem Novak @ 2026-11-26 21:37 UTC (permalink / raw)
To: hirofumi; +Cc: linux-kernel, Artem Novak
Correct spelling and grammar in two FIXME comments in the FAT
inode and FAT entry code.
Signed-off-by: Artem Novak <artem122novak@gmail.com>
---
fs/fat/fatent.c | 2 +-
fs/fat/inode.c | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
index 2d10a815a579..234335e92aee 100644
--- a/fs/fat/fatent.c
+++ b/fs/fat/fatent.c
@@ -376,7 +376,7 @@ int fat_ent_read(struct inode *inode, struct fat_entry *fatent, int entry)
return ops->ent_get(fatent);
}
-/* FIXME: We can write the blocks as more big chunk. */
+/* FIXME: We can write the blocks as a bigger chunk. */
static int fat_mirror_bhs(struct super_block *sb, struct buffer_head **bhs,
int nr_bhs)
{
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index 642e690632d8..7a0634c31419 100644
--- a/fs/fat/inode.c
+++ b/fs/fat/inode.c
@@ -109,8 +109,10 @@ int fat_add_clusters(struct inode *inode, int nr_cluster)
err = fat_alloc_chain(inode, &cluster, nr_cluster);
if (err)
return err;
- /* FIXME: this cluster should be added after data of this
- * cluster is writed */
+ /*
+ * FIXME: this cluster should be added after data of this
+ * cluster is written
+ */
err = fat_chain_add(inode, cluster, nr_cluster);
if (err)
fat_free_clusters(inode, cluster);
--
2.56.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fs/fat: fix typos in comments
2026-11-26 21:37 [PATCH] fs/fat: fix typos in comments Artem Novak
@ 2026-11-28 7:54 ` OGAWA Hirofumi
0 siblings, 0 replies; 2+ messages in thread
From: OGAWA Hirofumi @ 2026-11-28 7:54 UTC (permalink / raw)
To: Andrew Morton; +Cc: Artem Novak, linux-kernel
Artem Novak <artem122novak@gmail.com> writes:
> Correct spelling and grammar in two FIXME comments in the FAT
> inode and FAT entry code.
>
> Signed-off-by: Artem Novak <artem122novak@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Thanks.
> ---
> fs/fat/fatent.c | 2 +-
> fs/fat/inode.c | 6 ++++--
> 2 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
> index 2d10a815a579..234335e92aee 100644
> --- a/fs/fat/fatent.c
> +++ b/fs/fat/fatent.c
> @@ -376,7 +376,7 @@ int fat_ent_read(struct inode *inode, struct fat_entry *fatent, int entry)
> return ops->ent_get(fatent);
> }
>
> -/* FIXME: We can write the blocks as more big chunk. */
> +/* FIXME: We can write the blocks as a bigger chunk. */
> static int fat_mirror_bhs(struct super_block *sb, struct buffer_head **bhs,
> int nr_bhs)
> {
> diff --git a/fs/fat/inode.c b/fs/fat/inode.c
> index 642e690632d8..7a0634c31419 100644
> --- a/fs/fat/inode.c
> +++ b/fs/fat/inode.c
> @@ -109,8 +109,10 @@ int fat_add_clusters(struct inode *inode, int nr_cluster)
> err = fat_alloc_chain(inode, &cluster, nr_cluster);
> if (err)
> return err;
> - /* FIXME: this cluster should be added after data of this
> - * cluster is writed */
> + /*
> + * FIXME: this cluster should be added after data of this
> + * cluster is written
> + */
> err = fat_chain_add(inode, cluster, nr_cluster);
> if (err)
> fat_free_clusters(inode, cluster);
--
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-28 7:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 21:37 [PATCH] fs/fat: fix typos in comments Artem Novak
2026-11-28 7:54 ` OGAWA Hirofumi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox