Skip to contentSkip to conversation

docs: filesystems: porting: fix spelling of returned and instead

PATCH Applied Yuhong Cheng 3 participants 3 messages Jul 5 – Jul 6

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

PATCH 1/1 docs: filesystems: porting: fix spelling of returned and instead

Fix the spelling of 'rreturned' and 'instread' in the LOOKUP_EXCL section.

---
 Documentation/filesystems/porting.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/porting.rst +1 -1
index d13f0a23c..e040b0ff4 100644
@@ -1173,7 +1173,7 @@ these conditions don't require explicit checks:
  - if LOOKUP_CREATE is NOT given, then the dentry won't be negative,
    ERR_PTR(-ENOENT) is returned instead
  - if LOOKUP_EXCL IS given, then the dentry won't be positive,
-   ERR_PTR(-EEXIST) is rreturned instread
+   ERR_PTR(-EEXIST) is returned instead
 
 LOOKUP_EXCL now means "target must not exist".  It can be combined with
 LOOK_CREATE or LOOKUP_RENAME_TARGET.
Signature · 1 line
2.46.0.windows.1
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Yuhong Cheng

Fix the spelling of 'rreturned' and 'instread' in the LOOKUP_EXCL section.

Thanks.

Quoted 15 lines

---
Documentation/filesystems/porting.rst | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/porting.rst +1 -1
index d13f0a23c..e040b0ff4 100644
@@ -1173,7 +1173,7 @@ these conditions don't require explicit checks:
 - if LOOKUP_CREATE is NOT given, then the dentry won't be negative,
   ERR_PTR(-ENOENT) is returned instead
 - if LOOKUP_EXCL IS given, then the dentry won't be positive,
-   ERR_PTR(-EEXIST) is rreturned instread
+   ERR_PTR(-EEXIST) is returned instead
 
Quoted 2 lines

LOOKUP_EXCL now means "target must not exist". It can be combined with LOOK_CREATE or LOOKUP_RENAME_TARGET.

~Randy

maintainer Applied
#2 lore raw
In reply to Yuhong Cheng
Quoted 1 line · Yuhong Cheng

docs: filesystems: porting: fix spelling of returned and instead

Applied to the vfs-7.3.misc branch of the vfs/vfs.git tree. Patches in the vfs-7.3.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.3.misc

[1/1] docs: filesystems: porting: fix spelling of returned and instead

      https://git.kernel.org/vfs/vfs/c/b5b1c2739f73