From: Artem Novak <artem122novak@gmail.com>
To: hirofumi@mail.parknet.co.jp
Cc: linux-kernel@vger.kernel.org, Artem Novak <artem122novak@gmail.com>
Subject: [PATCH] fs/fat: fix typos in comments
Date: Thu, 26 Nov 2026 15:37:23 -0600 [thread overview]
Message-ID: <20261126213723.36535-1-artem122novak@gmail.com> (raw)
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
reply other threads:[~2026-11-26 21:37 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261126213723.36535-1-artem122novak@gmail.com \
--to=artem122novak@gmail.com \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®