linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] fs: correct some spelling mistakes
@ 2025-08-08  7:14 Xichao Zhao
  2025-08-08  7:14 ` [PATCH 1/6] fs: fix "writen"->"written" Xichao Zhao
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Xichao Zhao @ 2025-08-08  7:14 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Jan Kara, Trond Myklebust,
	Anna Schumaker, Amir Goldstein, Carlos Maiolino, Damien Le Moal,
	Naohiro Aota, Johannes Thumshirn,
	open list:FILESYSTEMS (VFS and infrastructure), open list,
	open list:NFS, SUNRPC, AND LOCKD CLIENTS,
	open list:XFS FILESYSTEM
  Cc: Xichao Zhao

Trivial fix to spelling mistake in comment text.


Xichao Zhao (6):
  fs: fix "writen"->"written"
  NFSv4: fix prefered -> preferred
  fsnotify: fix "rewriten"->"rewritten"
  xfs: fix "acheive"->"achieve"
  zonefs: fix "unwriten"->"unwritten"
  zonefs: fix "writen"->"written"

 fs/namei.c                           | 2 +-
 fs/nfs/nfs4xdr.c                     | 2 +-
 fs/notify/inotify/inotify_fsnotify.c | 2 +-
 fs/xfs/xfs_inode.c                   | 2 +-
 fs/zonefs/file.c                     | 2 +-
 fs/zonefs/super.c                    | 4 ++--
 6 files changed, 7 insertions(+), 7 deletions(-)

-- 
2.34.1


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

* [PATCH 1/6] fs: fix "writen"->"written"
  2025-08-08  7:14 [PATCH 0/6] fs: correct some spelling mistakes Xichao Zhao
@ 2025-08-08  7:14 ` Xichao Zhao
  2025-08-08  7:14 ` [PATCH 2/6] NFSv4: fix prefered -> preferred Xichao Zhao
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Xichao Zhao @ 2025-08-08  7:14 UTC (permalink / raw)
  To: Alexander Viro, Christian Brauner, Jan Kara,
	open list:FILESYSTEMS (VFS and infrastructure), open list
  Cc: Xichao Zhao

Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 fs/namei.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/namei.c b/fs/namei.c
index 044a3011be49..10f7caff7f0f 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -4828,7 +4828,7 @@ int vfs_link(struct dentry *old_dentry, struct mnt_idmap *idmap,
 		return -EPERM;
 	/*
 	 * Updating the link count will likely cause i_uid and i_gid to
-	 * be writen back improperly if their true value is unknown to
+	 * be written back improperly if their true value is unknown to
 	 * the vfs.
 	 */
 	if (HAS_UNMAPPED_ID(idmap, inode))
-- 
2.34.1


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

* [PATCH 2/6] NFSv4: fix prefered -> preferred
  2025-08-08  7:14 [PATCH 0/6] fs: correct some spelling mistakes Xichao Zhao
  2025-08-08  7:14 ` [PATCH 1/6] fs: fix "writen"->"written" Xichao Zhao
@ 2025-08-08  7:14 ` Xichao Zhao
  2025-08-08  7:14 ` [PATCH 3/6] fsnotify: fix "rewriten"->"rewritten" Xichao Zhao
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Xichao Zhao @ 2025-08-08  7:14 UTC (permalink / raw)
  To: Trond Myklebust, Anna Schumaker,
	open list:NFS, SUNRPC, AND LOCKD CLIENTS, open list
  Cc: Xichao Zhao

Spelling fix: prefered -> preferred

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 fs/nfs/nfs4xdr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index 49ff98571fa5..4ee88a4c1daa 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -4930,7 +4930,7 @@ static int decode_attr_pnfstype(struct xdr_stream *xdr, uint32_t *bitmap,
 }
 
 /*
- * The prefered block size for layout directed io
+ * The preferred block size for layout directed io
  */
 static int decode_attr_layout_blksize(struct xdr_stream *xdr, uint32_t *bitmap,
 				      uint32_t *res)
-- 
2.34.1


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

* [PATCH 3/6] fsnotify: fix "rewriten"->"rewritten"
  2025-08-08  7:14 [PATCH 0/6] fs: correct some spelling mistakes Xichao Zhao
  2025-08-08  7:14 ` [PATCH 1/6] fs: fix "writen"->"written" Xichao Zhao
  2025-08-08  7:14 ` [PATCH 2/6] NFSv4: fix prefered -> preferred Xichao Zhao
@ 2025-08-08  7:14 ` Xichao Zhao
  2025-08-08  7:14 ` [PATCH 4/6] xfs: fix "acheive"->"achieve" Xichao Zhao
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Xichao Zhao @ 2025-08-08  7:14 UTC (permalink / raw)
  To: Jan Kara, Amir Goldstein, open list:INOTIFY, open list; +Cc: Xichao Zhao

Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 fs/notify/inotify/inotify_fsnotify.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/notify/inotify/inotify_fsnotify.c b/fs/notify/inotify/inotify_fsnotify.c
index cd7d11b0eb08..7c326ec2e8a8 100644
--- a/fs/notify/inotify/inotify_fsnotify.c
+++ b/fs/notify/inotify/inotify_fsnotify.c
@@ -10,7 +10,7 @@
  * Copyright 2006 Hewlett-Packard Development Company, L.P.
  *
  * Copyright (C) 2009 Eric Paris <Red Hat Inc>
- * inotify was largely rewriten to make use of the fsnotify infrastructure
+ * inotify was largely rewritten to make use of the fsnotify infrastructure
  */
 
 #include <linux/dcache.h> /* d_unlinked */
-- 
2.34.1


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

* [PATCH 4/6] xfs: fix "acheive"->"achieve"
  2025-08-08  7:14 [PATCH 0/6] fs: correct some spelling mistakes Xichao Zhao
                   ` (2 preceding siblings ...)
  2025-08-08  7:14 ` [PATCH 3/6] fsnotify: fix "rewriten"->"rewritten" Xichao Zhao
@ 2025-08-08  7:14 ` Xichao Zhao
  2025-08-08  7:14 ` [PATCH 5/6] zonefs: fix "unwriten"->"unwritten" Xichao Zhao
  2025-08-08  7:14 ` [PATCH 6/6] zonefs: fix "writen"->"written" Xichao Zhao
  5 siblings, 0 replies; 8+ messages in thread
From: Xichao Zhao @ 2025-08-08  7:14 UTC (permalink / raw)
  To: Carlos Maiolino, open list:XFS FILESYSTEM, open list; +Cc: Xichao Zhao

Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 fs/xfs/xfs_inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c
index 9c39251961a3..4c66bbe23001 100644
--- a/fs/xfs/xfs_inode.c
+++ b/fs/xfs/xfs_inode.c
@@ -1745,7 +1745,7 @@ xfs_ifree_cluster(
 		 * IO and it won't be unlocked until the cluster freeing has
 		 * been committed to the journal and the buffer unpinned. If it
 		 * is written, we want to know about it, and we want it to
-		 * fail. We can acheive this by adding a write verifier to the
+		 * fail. We can achieve this by adding a write verifier to the
 		 * buffer.
 		 */
 		bp->b_flags |= XBF_DONE;
-- 
2.34.1


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

* [PATCH 5/6] zonefs: fix "unwriten"->"unwritten"
  2025-08-08  7:14 [PATCH 0/6] fs: correct some spelling mistakes Xichao Zhao
                   ` (3 preceding siblings ...)
  2025-08-08  7:14 ` [PATCH 4/6] xfs: fix "acheive"->"achieve" Xichao Zhao
@ 2025-08-08  7:14 ` Xichao Zhao
  2025-08-08  7:14 ` [PATCH 6/6] zonefs: fix "writen"->"written" Xichao Zhao
  5 siblings, 0 replies; 8+ messages in thread
From: Xichao Zhao @ 2025-08-08  7:14 UTC (permalink / raw)
  To: Damien Le Moal, Naohiro Aota, Johannes Thumshirn,
	open list:ZONEFS FILESYSTEM, open list
  Cc: Xichao Zhao

Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 fs/zonefs/file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/zonefs/file.c b/fs/zonefs/file.c
index fd3a5922f6c3..90e2ad8ee5f4 100644
--- a/fs/zonefs/file.c
+++ b/fs/zonefs/file.c
@@ -85,7 +85,7 @@ static int zonefs_write_iomap_begin(struct inode *inode, loff_t offset,
 	/*
 	 * For conventional zones, all blocks are always mapped. For sequential
 	 * zones, all blocks after always mapped below the inode size (zone
-	 * write pointer) and unwriten beyond.
+	 * write pointer) and unwritten beyond.
 	 */
 	mutex_lock(&zi->i_truncate_mutex);
 	iomap->bdev = inode->i_sb->s_bdev;
-- 
2.34.1


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

* [PATCH 6/6] zonefs: fix "writen"->"written"
  2025-08-08  7:14 [PATCH 0/6] fs: correct some spelling mistakes Xichao Zhao
                   ` (4 preceding siblings ...)
  2025-08-08  7:14 ` [PATCH 5/6] zonefs: fix "unwriten"->"unwritten" Xichao Zhao
@ 2025-08-08  7:14 ` Xichao Zhao
  2025-08-08  7:50   ` Damien Le Moal
  5 siblings, 1 reply; 8+ messages in thread
From: Xichao Zhao @ 2025-08-08  7:14 UTC (permalink / raw)
  To: Damien Le Moal, Naohiro Aota, Johannes Thumshirn,
	open list:ZONEFS FILESYSTEM, open list
  Cc: Xichao Zhao

Trivial fix to spelling mistake in comment text.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
---
 fs/zonefs/super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
index 4dc7f967c861..70be0b3dda49 100644
--- a/fs/zonefs/super.c
+++ b/fs/zonefs/super.c
@@ -268,7 +268,7 @@ static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone,
 	 * Check the zone condition: if the zone is not "bad" (offline or
 	 * read-only), read errors are simply signaled to the IO issuer as long
 	 * as there is no inconsistency between the inode size and the amount of
-	 * data writen in the zone (data_size).
+	 * data written in the zone (data_size).
 	 */
 	data_size = zonefs_check_zone_condition(sb, z, zone);
 	isize = i_size_read(inode);
@@ -282,7 +282,7 @@ static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone,
 	 * For the latter case, the cause may be a write IO error or an external
 	 * action on the device. Two error patterns exist:
 	 * 1) The inode size is lower than the amount of data in the zone:
-	 *    a write operation partially failed and data was writen at the end
+	 *    a write operation partially failed and data was written at the end
 	 *    of the file. This can happen in the case of a large direct IO
 	 *    needing several BIOs and/or write requests to be processed.
 	 * 2) The inode size is larger than the amount of data in the zone:
-- 
2.34.1


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

* Re: [PATCH 6/6] zonefs: fix "writen"->"written"
  2025-08-08  7:14 ` [PATCH 6/6] zonefs: fix "writen"->"written" Xichao Zhao
@ 2025-08-08  7:50   ` Damien Le Moal
  0 siblings, 0 replies; 8+ messages in thread
From: Damien Le Moal @ 2025-08-08  7:50 UTC (permalink / raw)
  To: Xichao Zhao, Naohiro Aota, Johannes Thumshirn,
	open list:ZONEFS FILESYSTEM, open list

On 8/8/25 4:14 PM, Xichao Zhao wrote:
> Trivial fix to spelling mistake in comment text.
> 
> Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>

Please squash this with patch 5/6. There is no good reason to have 2 patches
for typo fixes.

Also split this into separate patches for each FS. The entire patch series is
not going to be applied in a single tree. The different FS maintainers wil (or
not) take the patches for their FS in their tree.

> ---
>  fs/zonefs/super.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c
> index 4dc7f967c861..70be0b3dda49 100644
> --- a/fs/zonefs/super.c
> +++ b/fs/zonefs/super.c
> @@ -268,7 +268,7 @@ static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone,
>  	 * Check the zone condition: if the zone is not "bad" (offline or
>  	 * read-only), read errors are simply signaled to the IO issuer as long
>  	 * as there is no inconsistency between the inode size and the amount of
> -	 * data writen in the zone (data_size).
> +	 * data written in the zone (data_size).
>  	 */
>  	data_size = zonefs_check_zone_condition(sb, z, zone);
>  	isize = i_size_read(inode);
> @@ -282,7 +282,7 @@ static void zonefs_handle_io_error(struct inode *inode, struct blk_zone *zone,
>  	 * For the latter case, the cause may be a write IO error or an external
>  	 * action on the device. Two error patterns exist:
>  	 * 1) The inode size is lower than the amount of data in the zone:
> -	 *    a write operation partially failed and data was writen at the end
> +	 *    a write operation partially failed and data was written at the end
>  	 *    of the file. This can happen in the case of a large direct IO
>  	 *    needing several BIOs and/or write requests to be processed.
>  	 * 2) The inode size is larger than the amount of data in the zone:


-- 
Damien Le Moal
Western Digital Research

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

end of thread, other threads:[~2025-08-08  7:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-08  7:14 [PATCH 0/6] fs: correct some spelling mistakes Xichao Zhao
2025-08-08  7:14 ` [PATCH 1/6] fs: fix "writen"->"written" Xichao Zhao
2025-08-08  7:14 ` [PATCH 2/6] NFSv4: fix prefered -> preferred Xichao Zhao
2025-08-08  7:14 ` [PATCH 3/6] fsnotify: fix "rewriten"->"rewritten" Xichao Zhao
2025-08-08  7:14 ` [PATCH 4/6] xfs: fix "acheive"->"achieve" Xichao Zhao
2025-08-08  7:14 ` [PATCH 5/6] zonefs: fix "unwriten"->"unwritten" Xichao Zhao
2025-08-08  7:14 ` [PATCH 6/6] zonefs: fix "writen"->"written" Xichao Zhao
2025-08-08  7:50   ` Damien Le Moal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).