diff mbox series

fs: namei: Fix spelling mistake "Retuns" to "Returns"

Message ID 20231118132136.3084-1-yx.0xffff@gmail.com (mailing list archive)
State New
Headers show
Series fs: namei: Fix spelling mistake "Retuns" to "Returns" | expand

Commit Message

YangXin Nov. 18, 2023, 1:21 p.m. UTC
There are two spelling mistake in comments. Fix it.

Signed-off-by: YangXin <yx.0xffff@gmail.com>
---
Hi maintainers:

Sorry for the formatting problems in the last Patch entry, here's my revised version

thanks,
YangXin
 fs/namei.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Christian Brauner Nov. 20, 2023, 3:42 p.m. UTC | #1
On Sat, 18 Nov 2023 21:21:36 +0800, YangXin wrote:
> There are two spelling mistake in comments. Fix it.
> 
> 

Applied to the vfs.misc branch of the vfs/vfs.git tree.
Patches in the vfs.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.misc

[1/1] fs: namei: Fix spelling mistake "Retuns" to "Returns"
      https://git.kernel.org/vfs/vfs/c/136aef2de55c
diff mbox series

Patch

diff --git a/fs/namei.c b/fs/namei.c
index 83dd8b51995a..c422cec576a5 100644
--- a/fs/namei.c
+++ b/fs/namei.c
@@ -2468,7 +2468,7 @@  static int handle_lookup_down(struct nameidata *nd)
 	return PTR_ERR(step_into(nd, WALK_NOFOLLOW, nd->path.dentry));
 }
 
-/* Returns 0 and nd will be valid on success; Retuns error, otherwise. */
+/* Returns 0 and nd will be valid on success; Returns error, otherwise. */
 static int path_lookupat(struct nameidata *nd, unsigned flags, struct path *path)
 {
 	const char *s = path_init(nd, flags);
@@ -2523,7 +2523,7 @@  int filename_lookup(int dfd, struct filename *name, unsigned flags,
 	return retval;
 }
 
-/* Returns 0 and nd will be valid on success; Retuns error, otherwise. */
+/* Returns 0 and nd will be valid on success; Returns error, otherwise. */
 static int path_parentat(struct nameidata *nd, unsigned flags,
 				struct path *parent)
 {