9p: Fix minor typo in code comment
authorTyler Hicks <tyhicks@linux.microsoft.com>
Fri, 27 May 2022 00:00:03 +0000 (19:00 -0500)
committerDominique Martinet <dominique.martinet@atmark-techno.com>
Sat, 2 Jul 2022 09:52:21 +0000 (18:52 +0900)
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>
fs/9p/fid.c

index 7ddfed9..e8fad28 100644 (file)
@@ -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 */);