The branch main has been updated by mjg:

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

commit 57dab0292a8f96cd7c374d7c1d61cd7c0bd77bfd
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2021-01-19 09:17:14 +0000
Commit:     Mateusz Guzik <[email protected]>
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to