diff options
author | YangXin <yx.0xffff@gmail.com> | 2023-11-18 21:21:36 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-11-20 16:41:50 +0100 |
commit | 6f672f7b3b9676853c3b074151ff0a156cdd7b07 (patch) | |
tree | 2469fef08212dc1cf6e08dc2be60d6841b16d765 /fs/namei.c | |
parent | f73f6181eb057671e358ebac8ed7f0014f12efb8 (diff) | |
download | linux-6f672f7b3b9676853c3b074151ff0a156cdd7b07.tar.gz linux-6f672f7b3b9676853c3b074151ff0a156cdd7b07.tar.bz2 linux-6f672f7b3b9676853c3b074151ff0a156cdd7b07.zip |
fs: namei: Fix spelling mistake "Retuns" to "Returns"
There are two spelling mistake in comments. Fix it.
Signed-off-by: YangXin <yx.0xffff@gmail.com>
Link: https://lore.kernel.org/r/20231118132136.3084-1-yx.0xffff@gmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/namei.c')
-rw-r--r-- | fs/namei.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/namei.c b/fs/namei.c index 71c13b2990b4..53db89e99f97 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2467,7 +2467,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); @@ -2522,7 +2522,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) { |