fs/fat: fix typos in comments
PATCH 1/1 fs/fat: fix typos in comments
Correct spelling and grammar in two FIXME comments in the FAT inode and FAT entry code.
--- fs/fat/fatent.c | 2 +- fs/fat/inode.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)
fs/fat/fatent.c +1 -1
@@ -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) {
fs/fat/inode.c +4 -2
@@ -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);
Signature · 1 line
2.56.1
Quoted 4 lines · Artem Novak
Correct spelling and grammar in two FIXME comments in the FAT inode and FAT entry code.
Signed-off-by Artem Novak <[email protected]>
Thanks.
Quoted 35 lines
--- fs/fat/fatent.c | 2 +- fs/fat/inode.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)fs/fat/fatent.c +1
-1@@ -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) {fs/fat/inode.c +4
-2@@ -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);
Signature · 1 line
OGAWA Hirofumi <[email protected]>
Andrew Morton
tree notice+ fs-fat-fix-typos-in-comments.patch added to mm-nonmm-unstable branch
In reply to Artem NovakThe patch titled Subject: fs/fat: fix typos in comments has been added to the -mm mm-nonmm-unstable branch. Its filename is fs-fat-fix-typos-in-comments.patch
The patch titled
Subject: fs/fat: fix typos in comments
has been added to the -mm mm-nonmm-unstable branch. Its filename is
fs-fat-fix-typos-in-comments.patch
This patch will shortly appear at
https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/fs-fat-fix-typos-in-comments.patch
This patch will later appear in the mm-nonmm-unstable branch at
git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next via various branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days
------------------------------------------------------
From: Artem Novak <[email protected]>
Subject: fs/fat: fix typos in comments
Date: Thu, 26 Nov 2026 15:37:23 -0600
Correct spelling and grammar in two FIXME comments in the FAT inode and FAT entry code.
fs/fat/fatent.c | 2 +- fs/fat/inode.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-)
fs/fat/fatent.c renamed from fs/fat/fatent.c~fs-fat-fix-typos-in-comments +1 -1
@@ -376,7 +376,7 @@ int fat_ent_read(struct inode *inode, streturn 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) {
fs/fat/inode.c renamed from fs/fat/inode.c~fs-fat-fix-typos-in-comments +4 -2
@@ -109,8 +109,10 @@ int fat_add_clusters(struct inode *inode 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);
_
Patches currently in -mm which might be from [email protected] are
fs-fat-fix-typos-in-comments.patch