Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 09:22:06 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 57dab0292a8f - main - cache: fix some typos
Message-ID:  <202101190922.10J9M6W8022964@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=57dab0292a8f96cd7c374d7c1d61cd7c0bd77bfd

commit 57dab0292a8f96cd7c374d7c1d61cd7c0bd77bfd
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-01-19 09:17:14 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-01-19 09:17:14 +0000

    cache: fix some typos
---
 sys/kern/vfs_cache.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index fea32f90682c..0621bfb12d3e 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -4008,7 +4008,7 @@ cache_fplookup_partial_setup(struct cache_fpl *fpl)
 	 *
 	 * Ultimately this does not affect correctness, any lookup errors
 	 * are userspace racing with itself. It is guaranteed that any
-	 * path which ultimatley gets found could also have been found
+	 * path which ultimately gets found could also have been found
 	 * by regular lookup going all the way in absence of concurrent
 	 * modifications.
 	 */
@@ -4159,7 +4159,7 @@ cache_fplookup_final_modifying(struct cache_fpl *fpl)
 	 * reasoning.
 	 *
 	 * XXX At least UFS requires its lookup routine to be called for
-	 * the last path component, which leads to some level of complicaton
+	 * the last path component, which leads to some level of complication
 	 * and inefficiency:
 	 * - the target routine always locks the target vnode, but our caller
 	 *   may not need it locked
@@ -5045,7 +5045,7 @@ cache_fplookup_parse(struct cache_fpl *fpl)
 #ifdef INVARIANTS
 	/*
 	 * Code below is only here to assure compatibility with regular lookup.
-	 * It covers handling of trailing slashles and names like "/", both of
+	 * It covers handling of trailing slashes and names like "/", both of
 	 * which of can be taken care of upfront which lockless lookup does
 	 * in cache_fplookup_preparse. Regular lookup performs these for each
 	 * path component.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101190922.10J9M6W8022964>