diff mbox series

Documentation: filesystems: fix two misspells

Message ID 20241208035447.162465-2-xtex@envs.net (mailing list archive)
State New
Headers show
Series Documentation: filesystems: fix two misspells | expand

Commit Message

Bingwu Zhang Dec. 8, 2024, 3:54 a.m. UTC
From: Bingwu Zhang <xtex@aosc.io>

This fixes two small misspells in the filesystems documentation.

Signed-off-by: Bingwu Zhang <xtex@aosc.io>
---
I found these typos when learning about OverlayFS recently.
---
 Documentation/filesystems/iomap/operations.rst | 2 +-
 Documentation/filesystems/overlayfs.rst        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


base-commit: 7503345ac5f5e82fd9a36d6e6b447c016376403a

Comments

Darrick J. Wong Dec. 11, 2024, 5:40 p.m. UTC | #1
On Sun, Dec 08, 2024 at 11:54:47AM +0800, Bingwu Zhang wrote:
> From: Bingwu Zhang <xtex@aosc.io>
> 
> This fixes two small misspells in the filesystems documentation.
> 
> Signed-off-by: Bingwu Zhang <xtex@aosc.io>

Yep, typoes happun, thanks for the patch.
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>

--D

> ---
> I found these typos when learning about OverlayFS recently.
> ---
>  Documentation/filesystems/iomap/operations.rst | 2 +-
>  Documentation/filesystems/overlayfs.rst        | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/filesystems/iomap/operations.rst b/Documentation/filesystems/iomap/operations.rst
> index ef082e5a4e0c..2c7f5df9d8b0 100644
> --- a/Documentation/filesystems/iomap/operations.rst
> +++ b/Documentation/filesystems/iomap/operations.rst
> @@ -104,7 +104,7 @@ iomap calls these functions:
>  
>      For the pagecache, races can happen if writeback doesn't take
>      ``i_rwsem`` or ``invalidate_lock`` and updates mapping information.
> -    Races can also happen if the filesytem allows concurrent writes.
> +    Races can also happen if the filesystem allows concurrent writes.
>      For such files, the mapping *must* be revalidated after the folio
>      lock has been taken so that iomap can manage the folio correctly.
>  
> diff --git a/Documentation/filesystems/overlayfs.rst b/Documentation/filesystems/overlayfs.rst
> index 4c8387e1c880..d2a277e3976e 100644
> --- a/Documentation/filesystems/overlayfs.rst
> +++ b/Documentation/filesystems/overlayfs.rst
> @@ -156,7 +156,7 @@ A directory is made opaque by setting the xattr "trusted.overlay.opaque"
>  to "y".  Where the upper filesystem contains an opaque directory, any
>  directory in the lower filesystem with the same name is ignored.
>  
> -An opaque directory should not conntain any whiteouts, because they do not
> +An opaque directory should not contain any whiteouts, because they do not
>  serve any purpose.  A merge directory containing regular files with the xattr
>  "trusted.overlay.whiteout", should be additionally marked by setting the xattr
>  "trusted.overlay.opaque" to "x" on the merge directory itself.
> 
> base-commit: 7503345ac5f5e82fd9a36d6e6b447c016376403a
> -- 
> 2.47.1
>
Matthew Wilcox (Oracle) Dec. 11, 2024, 7:58 p.m. UTC | #2
On Sun, Dec 08, 2024 at 11:54:47AM +0800, Bingwu Zhang wrote:
> From: Bingwu Zhang <xtex@aosc.io>
> 
> This fixes two small misspells in the filesystems documentation.

There's a couple of similar ones if you want to submit some bonus
patches:

$ git grep sytem
Documentation/devicetree/bindings/sound/amlogic,axg-sound-card.yaml:      Base PLL clocks of audio susbsytem, used to configure base clock
Documentation/devicetree/bindings/sound/amlogic,gx-sound-card.yaml:      Base PLL clocks of audio susbsytem, used to configure base clock
Documentation/filesystems/iomap/operations.rst:    Races can also happen if the filesytem allows concurrent writes.
drivers/gpu/drm/xe/xe_bo.c: * On successful completion, the object memory will be moved to sytem memory.
fs/freevxfs/vxfs_super.c: * @fc:                        filesytem context
fs/ocfs2/sysfile.c:                      * return NULL here so that ocfs2_get_sytem_file_inodes
scripts/spelling.txt:sytem||system
Jonathan Corbet Dec. 13, 2024, 3:47 p.m. UTC | #3
Bingwu Zhang <xtex@envs.net> writes:

> From: Bingwu Zhang <xtex@aosc.io>
>
> This fixes two small misspells in the filesystems documentation.
>
> Signed-off-by: Bingwu Zhang <xtex@aosc.io>
> ---
> I found these typos when learning about OverlayFS recently.
> ---
>  Documentation/filesystems/iomap/operations.rst | 2 +-
>  Documentation/filesystems/overlayfs.rst        | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.  Welcome to the kernel community!

jon
diff mbox series

Patch

diff --git a/Documentation/filesystems/iomap/operations.rst b/Documentation/filesystems/iomap/operations.rst
index ef082e5a4e0c..2c7f5df9d8b0 100644
--- a/Documentation/filesystems/iomap/operations.rst
+++ b/Documentation/filesystems/iomap/operations.rst
@@ -104,7 +104,7 @@  iomap calls these functions:
 
     For the pagecache, races can happen if writeback doesn't take
     ``i_rwsem`` or ``invalidate_lock`` and updates mapping information.
-    Races can also happen if the filesytem allows concurrent writes.
+    Races can also happen if the filesystem allows concurrent writes.
     For such files, the mapping *must* be revalidated after the folio
     lock has been taken so that iomap can manage the folio correctly.
 
diff --git a/Documentation/filesystems/overlayfs.rst b/Documentation/filesystems/overlayfs.rst
index 4c8387e1c880..d2a277e3976e 100644
--- a/Documentation/filesystems/overlayfs.rst
+++ b/Documentation/filesystems/overlayfs.rst
@@ -156,7 +156,7 @@  A directory is made opaque by setting the xattr "trusted.overlay.opaque"
 to "y".  Where the upper filesystem contains an opaque directory, any
 directory in the lower filesystem with the same name is ignored.
 
-An opaque directory should not conntain any whiteouts, because they do not
+An opaque directory should not contain any whiteouts, because they do not
 serve any purpose.  A merge directory containing regular files with the xattr
 "trusted.overlay.whiteout", should be additionally marked by setting the xattr
 "trusted.overlay.opaque" to "x" on the merge directory itself.