mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] iomap: fix typos and repeated words in comments
@ 2026-09-04 10:38 Hemanth Selam
  2026-09-04 10:38 ` [PATCH 1/2] iomap: fix typo "metdata" in comment Hemanth Selam
  2026-09-04 10:38 ` [PATCH 2/2] iomap: fix repeated word 'the' " Hemanth Selam
  0 siblings, 2 replies; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:38 UTC (permalink / raw)
  Cc: linux-kernel

This corrects 2 misspellings and repeated words in comments.  Each is a
separate patch so that any one of them can be dropped without touching
the rest.

Nothing outside comments changes.  Every touched C file was checked by
dropping its comments, replacing each string literal with a placeholder
and collapsing whitespace; what remained was identical before and after,
so the compiled code cannot differ.

The mistakes were found with scripts/checkpatch.pl against the list in
scripts/spelling.txt.  The scanning, the edits and the changelogs were
produced with Cursor running the claude-opus-5 model, from a request to
find and fix spelling mistakes across the tree, and every correction was
then re-checked by the comparison described above.  Words that name an
identifier were left alone deliberately, even when they read as typos,
because correcting the prose would make the comment disagree with the
code it describes.

Tested by building x86_64 defconfig at v7.3-rc1-269-gbc35965f6940, which
is clean.  Nothing else was built, so any patch touching code that
x86_64 defconfig does not compile has been read but not compiled.

Hemanth Selam (2):
  iomap: fix typo "metdata" in comment
  iomap: fix repeated word 'the' in comment

 fs/iomap/buffered-io.c | 2 +-
 fs/iomap/direct-io.c   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] iomap: fix typo "metdata" in comment
  2026-09-04 10:38 [PATCH 0/2] iomap: fix typos and repeated words in comments Hemanth Selam
@ 2026-09-04 10:38 ` Hemanth Selam
  2026-09-04 15:11   ` Darrick J. Wong
  2026-09-04 10:38 ` [PATCH 2/2] iomap: fix repeated word 'the' " Hemanth Selam
  1 sibling, 1 reply; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:38 UTC (permalink / raw)
  To: Christian Brauner, Darrick J. Wong; +Cc: linux-kernel, linux-xfs, linux-fsdevel

Correct "metdata" to "metadata", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt.  Only touches comments, no
code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 fs/iomap/direct-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c
index 8b4039d16ce8..b70f86292049 100644
--- a/fs/iomap/direct-io.c
+++ b/fs/iomap/direct-io.c
@@ -505,7 +505,7 @@ static int iomap_dio_bio_iter(struct iomap_iter *iter, struct iomap_dio *dio)
 		 * We can only do inline completion for pure overwrites that
 		 * don't require additional I/O at completion time.
 		 *
-		 * This rules out writes that need zeroing or metdata updates to
+		 * This rules out writes that need zeroing or metadata updates to
 		 * convert unwritten or shared extents.
 		 *
 		 * Writes that extend i_size are also not supported, but this is
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] iomap: fix repeated word 'the' in comment
  2026-09-04 10:38 [PATCH 0/2] iomap: fix typos and repeated words in comments Hemanth Selam
  2026-09-04 10:38 ` [PATCH 1/2] iomap: fix typo "metdata" in comment Hemanth Selam
@ 2026-09-04 10:38 ` Hemanth Selam
  2026-09-04 15:11   ` Darrick J. Wong
  1 sibling, 1 reply; 5+ messages in thread
From: Hemanth Selam @ 2026-09-04 10:38 UTC (permalink / raw)
  To: Christian Brauner, Darrick J. Wong; +Cc: linux-kernel, linux-xfs, linux-fsdevel

Drop the second 'the', reported by checkpatch.pl as a possible repeated
word.  Only touches a comment, no code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 fs/iomap/buffered-io.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c
index 0a5ebfda90f1..d42751d6f5ff 100644
--- a/fs/iomap/buffered-io.c
+++ b/fs/iomap/buffered-io.c
@@ -1708,7 +1708,7 @@ static int iomap_zero_iter(struct iomap_iter *iter, bool *did_zero,
  * @iomap_flags: Flags to set on the associated iomap to track the batch.
  *
  * Returns the folio count directly. Also returns the associated control flag if
- * the the batch lookup is performed and the expected offset of a subsequent
+ * the batch lookup is performed and the expected offset of a subsequent
  * lookup via out params. The caller is responsible to set the flag on the
  * associated iomap.
  */
-- 
2.48.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] iomap: fix typo "metdata" in comment
  2026-09-04 10:38 ` [PATCH 1/2] iomap: fix typo "metdata" in comment Hemanth Selam
@ 2026-09-04 15:11   ` Darrick J. Wong
  0 siblings, 0 replies; 5+ messages in thread
From: Darrick J. Wong @ 2026-09-04 15:11 UTC (permalink / raw)
  To: Hemanth Selam; +Cc: Christian Brauner, linux-kernel, linux-xfs, linux-fsdevel

On Fri, Sep 04, 2026 at 04:08:22PM +0530, Hemanth Selam wrote:
> Correct "metdata" to "metadata", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt.  Only touches comments, no
> code changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
>  fs/iomap/direct-io.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/iomap/direct-io.c b/fs/iomap/direct-io.c
> index 8b4039d16ce8..b70f86292049 100644
> --- a/fs/iomap/direct-io.c
> +++ b/fs/iomap/direct-io.c
> @@ -505,7 +505,7 @@ static int iomap_dio_bio_iter(struct iomap_iter *iter, struct iomap_dio *dio)
>  		 * We can only do inline completion for pure overwrites that
>  		 * don't require additional I/O at completion time.
>  		 *
> -		 * This rules out writes that need zeroing or metdata updates to
> +		 * This rules out writes that need zeroing or metadata updates to
>  		 * convert unwritten or shared extents.
>  		 *
>  		 * Writes that extend i_size are also not supported, but this is
> -- 
> 2.48.1
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] iomap: fix repeated word 'the' in comment
  2026-09-04 10:38 ` [PATCH 2/2] iomap: fix repeated word 'the' " Hemanth Selam
@ 2026-09-04 15:11   ` Darrick J. Wong
  0 siblings, 0 replies; 5+ messages in thread
From: Darrick J. Wong @ 2026-09-04 15:11 UTC (permalink / raw)
  To: Hemanth Selam; +Cc: Christian Brauner, linux-kernel, linux-xfs, linux-fsdevel

On Fri, Sep 04, 2026 at 04:08:23PM +0530, Hemanth Selam wrote:
> Drop the second 'the', reported by checkpatch.pl as a possible repeated
> word.  Only touches a comment, no code changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>

Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
>  fs/iomap/buffered-io.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c
> index 0a5ebfda90f1..d42751d6f5ff 100644
> --- a/fs/iomap/buffered-io.c
> +++ b/fs/iomap/buffered-io.c
> @@ -1708,7 +1708,7 @@ static int iomap_zero_iter(struct iomap_iter *iter, bool *did_zero,
>   * @iomap_flags: Flags to set on the associated iomap to track the batch.
>   *
>   * Returns the folio count directly. Also returns the associated control flag if
> - * the the batch lookup is performed and the expected offset of a subsequent
> + * the batch lookup is performed and the expected offset of a subsequent
>   * lookup via out params. The caller is responsible to set the flag on the
>   * associated iomap.
>   */
> -- 
> 2.48.1
> 
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-09-04 15:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 10:38 [PATCH 0/2] iomap: fix typos and repeated words in comments Hemanth Selam
2026-09-04 10:38 ` [PATCH 1/2] iomap: fix typo "metdata" in comment Hemanth Selam
2026-09-04 15:11   ` Darrick J. Wong
2026-09-04 10:38 ` [PATCH 2/2] iomap: fix repeated word 'the' " Hemanth Selam
2026-09-04 15:11   ` Darrick J. Wong

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®