[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20231117150257.218-1-yx.0xffff@gmail.com>
Date:   Fri, 17 Nov 2023 23:02:57 +0800
From:   YangXin <yx.0xffff@...il.com>
To:     viro@...iv.linux.org.uk, brauner@...nel.org
Cc:     linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
        YangXin <yx.0xffff@...il.com>
Subject: [PATCH] fs: namei: Fix spelling mistake "Retuns" to "Returns" There are two spelling mistake in comments. Fix it.
Signed-off-by: YangXin <yx.0xffff@...il.com>
---
 fs/namei.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
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)
 {
-- 
2.33.0
Powered by blists - more mailing lists
 
