git: 57dab0292a8f - main - cache: fix some typos
Mateusz Guzik
mjg at FreeBSD.org
Tue Jan 19 09:22:07 UTC 2021
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=57dab0292a8f96cd7c374d7c1d61cd7c0bd77bfd
commit 57dab0292a8f96cd7c374d7c1d61cd7c0bd77bfd
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-01-19 09:17:14 +0000
Commit: Mateusz Guzik <mjg at 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.
More information about the dev-commits-src-main
mailing list