Skip to contentSkip to conversation

documentation/filesystems: fix spelling mistakes

PATCH In review [email protected] 3 participants 5 messages Feb 9, 2025 – Feb 11, 2025

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 documentation/filesystems: fix spelling mistakes

From: Ritvik Gupta <[email protected]>

Corrected the following spelling mistakes,
based on the suggestions by codespell:

1. Optionaly -> Optionally
2. prefereable -> preferable

3. peformance  -> performance
4. ontext      -> context
5. failuer     -> failure
6. poiners     -> pointers
7. realtively  -> relatively
8. uptream     -> upstream

Thanks for your time!
Regards Ritvik

---
 Documentation/filesystems/9p.rst                              | 2 +-
 Documentation/filesystems/bcachefs/SubmittingPatches.rst      | 4 ++--
 Documentation/filesystems/coda.rst                            | 2 +-
 Documentation/filesystems/debugfs.rst                         | 2 +-
 Documentation/filesystems/netfs_library.rst                   | 2 +-
 Documentation/filesystems/xfs/xfs-delayed-logging-design.rst  | 2 +-
 .../filesystems/xfs/xfs-maintainer-entry-profile.rst          | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)
Documentation/filesystems/9p.rst +1 -1
index 2bbf68b56b0d..3078f3c9256a 100644
@@ -90,7 +90,7 @@ Just start the 9pfs capable network server like diod/nfs-ganesha e.g.::
 
         $ diod -f -n -d 0 -S -l 0.0.0.0:9999 -e $PWD
 
-Optionaly scan your bus if there are more then one usbg gadgets to find their path::
+Optionally scan your bus if there are more then one usbg gadgets to find their path::
 
         $ python $kernel_dir/tools/usb/p9_fwd.py list
 
Documentation/filesystems/bcachefs/SubmittingPatches.rst +2 -2
index 026b12ae0d6a..4b79ca58faf2 100644
@@ -30,7 +30,7 @@ CI:
 ===
 
 Instead of running your tests locally, when running the full test suite it's
-prefereable to let a server farm do it in parallel, and then have the results
+preferable to let a server farm do it in parallel, and then have the results
 in a nice test dashboard (which can tell you which failures are new, and
 presents results in a git log view, avoiding the need for most bisecting).
 
@@ -68,7 +68,7 @@ Other things to think about:
   land - use them. Use them judiciously, and not as a replacement for proper
   error handling, but use them.
 
-- Does it need to be performance tested? Should we add new peformance counters?
+- Does it need to be performance tested? Should we add new performance counters?
 
   bcachefs has a set of persistent runtime counters which can be viewed with
   the 'bcachefs fs top' command; this should give users a basic idea of what
Documentation/filesystems/coda.rst +1 -1
index bdde7e4e010b..0db3c83a50e5 100644
@@ -141,7 +141,7 @@ kernel support.
   a process P which accessing a Coda file. It makes a system call which
   traps to the OS kernel. Examples of such calls trapping to the kernel
   are ``read``, ``write``, ``open``, ``close``, ``create``, ``mkdir``,
-  ``rmdir``, ``chmod`` in a Unix ontext.  Similar calls exist in the Win32
+  ``rmdir``, ``chmod`` in a Unix context.  Similar calls exist in the Win32
   environment, and are named ``CreateFile``.
 
   Generally the operating system handles the request in a virtual
Documentation/filesystems/debugfs.rst +1 -1
index f7f977ffbf8d..610f718ef8b5 100644
@@ -220,7 +220,7 @@ There are a couple of other directory-oriented helper functions::
 
 A call to debugfs_change_name() will give a new name to an existing debugfs
 file, always in the same directory.  The new_name must not exist prior
-to the call; the return value is 0 on success and -E... on failuer.
+to the call; the return value is 0 on success and -E... on failure.
 Symbolic links can be created with debugfs_create_symlink().
 
 There is one important thing that all debugfs users must take into account:
Documentation/filesystems/netfs_library.rst +1 -1
index 73f0bfd7e903..3886c14f89f4 100644
@@ -515,7 +515,7 @@ The methods defined in the table are:
    the cache to expand a request in either direction.  This allows the cache to
    size the request appropriately for the cache granularity.
 
-   The function is passed poiners to the start and length in its parameters,
+   The function is passed pointers to the start and length in its parameters,
    plus the size of the file for reference, and adjusts the start and length
    appropriately.  It should return one of:
 
Documentation/filesystems/xfs/xfs-delayed-logging-design.rst +1 -1
index 6402ab8e370c..2a2705e975e8 100644
@@ -219,7 +219,7 @@ The log is circular, so the positions in the log are defined by the combination
 of a cycle number - the number of times the log has been overwritten - and the
 offset into the log.  A LSN carries the cycle in the upper 32 bits and the
 offset in the lower 32 bits. The offset is in units of "basic blocks" (512
-bytes). Hence we can do realtively simple LSN based math to keep track of
+bytes). Hence we can do relatively simple LSN based math to keep track of
 available space in the log.
 
 Log space accounting is done via a pair of constructs called "grant heads".  The
Documentation/filesystems/xfs/xfs-maintainer-entry-profile.rst +1 -1
index 32b6ac4ca9d6..ce4584fb3103 100644
@@ -93,7 +93,7 @@ others on a regular basis about burnout.
   sponsoring work on any part of XFS.
 
 - **LTS Maintainer**: Someone who backports and tests bug fixes from
-  uptream to the LTS kernels.
+  upstream to the LTS kernels.
   There tend to be six separate LTS trees at any given time.
 
   The maintainer for a given LTS release should identify themselves with an

--
2.43.0

reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 14 lines · On 2/9/25 8:39 PM, [email protected] wrote:

From: Ritvik Gupta <[email protected]>

Corrected the following spelling mistakes,
based on the suggestions by codespell:

1. Optionaly -> Optionally
2. prefereable -> preferable

3. peformance  -> performance
4. ontext      -> context
5. failuer     -> failure
6. poiners     -> pointers
7. realtively  -> relatively
8. uptream     -> upstream
Quoted 2 lines

Thanks for your time!
Regards Ritvik

The 2 lines above should not be part of the commit description. You can put them below the "---" line just below your Signed-off-by:
if you want to include them.

Quoted 11 lines
---
 Documentation/filesystems/9p.rst                              | 2 +-
 Documentation/filesystems/bcachefs/SubmittingPatches.rst      | 4 ++--
 Documentation/filesystems/coda.rst                            | 2 +-
 Documentation/filesystems/debugfs.rst                         | 2 +-
 Documentation/filesystems/netfs_library.rst                   | 2 +-
 Documentation/filesystems/xfs/xfs-delayed-logging-design.rst  | 2 +-
 .../filesystems/xfs/xfs-maintainer-entry-profile.rst          | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

Thanks.

Signature · 1 line
~Randy
maintainer
#3 lore raw
In reply to [email protected]
Quoted 18 lines · [email protected] writes:

From: Ritvik Gupta <[email protected]>

Corrected the following spelling mistakes,
based on the suggestions by codespell:

1. Optionaly -> Optionally
2. prefereable -> preferable

3. peformance  -> performance
4. ontext      -> context
5. failuer     -> failure
6. poiners     -> pointers
7. realtively  -> relatively
8. uptream     -> upstream

Thanks for your time!
Regards Ritvik

Quoted 9 lines
---
 Documentation/filesystems/9p.rst                              | 2 +-
 Documentation/filesystems/bcachefs/SubmittingPatches.rst      | 4 ++--
 Documentation/filesystems/coda.rst                            | 2 +-
 Documentation/filesystems/debugfs.rst                         | 2 +-
 Documentation/filesystems/netfs_library.rst                   | 2 +-
 Documentation/filesystems/xfs/xfs-delayed-logging-design.rst  | 2 +-
 .../filesystems/xfs/xfs-maintainer-entry-profile.rst          | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

I've applied this, but ... for future reference ...

- As Randy noted, the "thanks" message doesn't belong in the changelog; I took it out.

- It's not really necessary to list every word you've fixed; "fix some misspellings" is sufficient. I left those in though :)

- This patch did not apply to docs-next - the bcachefs file you change only showed up in the mainline yesterday. I pulled docs-next forward to -rc2 to avoid making you redo it, but it's better not to make maintainers do that in general. The proper approach, which would have been needed for a more involved change, would have been to send that fix to the bcachefs maintainer instead to go through his tree.

Thanks,

jon

#4 lore raw
In reply to Jonathan Corbet

Next time onwards, I'll make sure to:
- include changelog in commit message, nothing else.
- send patches via maintainer's tree rather than applying directly.

Really appreciate you pulling docs-next forward to -rc2. I’ll be more careful!

Thank you for the guidance :)