* [PATCH] fs: namei: Fix spelling mistake "Retuns" to "Returns"
@ 2023-11-18 13:21 YangXin
2023-11-20 15:42 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: YangXin @ 2023-11-18 13:21 UTC (permalink / raw)
To: viro, brauner; +Cc: linux-fsdevel, linux-kernel
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(-)
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.30.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-20 15:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-18 13:21 [PATCH] fs: namei: Fix spelling mistake "Retuns" to "Returns" YangXin
2023-11-20 15:42 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox