summaryrefslogtreecommitdiff
path: root/fs/9p
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.microsoft.com>2022-05-26 19:00:03 -0500
committerDominique Martinet <dominique.martinet@atmark-techno.com>2022-07-02 18:52:21 +0900
commitb296d05746b7fa0d663e3b11abf0e03eab6e03e6 (patch)
tree6d72813a7896c3b2e5e9f5787e85b278b17fb1dd /fs/9p
parent47b1e3432b06c17b2d123b7ad30f04dd97b6d6f7 (diff)
9p: Fix minor typo in code comment
Fix s/patch/path/ typo and make it clear that we're talking about multiple path components. Link: https://lkml.kernel.org/r/20220527000003.355812-6-tyhicks@linux.microsoft.com Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com> Signed-off-by: Dominique Martinet <asmadeus@codewreck.org>
Diffstat (limited to 'fs/9p')
-rw-r--r--fs/9p/fid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/9p/fid.c b/fs/9p/fid.c
index 7ddfed9f3c62..e8fad28fc5bd 100644
--- a/fs/9p/fid.c
+++ b/fs/9p/fid.c
@@ -219,7 +219,7 @@ static struct p9_fid *v9fs_fid_lookup_with_uid(struct dentry *dentry,
l = min(n - i, P9_MAXWELEM);
/*
* We need to hold rename lock when doing a multipath
- * walk to ensure none of the patch component change
+ * walk to ensure none of the path components change
*/
fid = p9_client_walk(old_fid, l, &wnames[i],
old_fid == root_fid /* clone */);