Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2022 06:19:41 GMT
From:      Gordon Bergling <gbe@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2315d1fd10e3 - stable/13 - kern: Fix two typos in source code comments
Message-ID:  <202204090619.2396JfVq035584@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=2315d1fd10e3f8cf3f70b66bccf2f34acabe8248

commit 2315d1fd10e3f8cf3f70b66bccf2f34acabe8248
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-02 12:52:49 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 06:19:14 +0000

    kern: Fix two typos in source code comments
    
    - s/accomodate/accommodate/
    
    (cherry picked from commit c9b04ee4f8a85ba4f6645de25c17180c752d1b04)
---
 sys/kern/vfs_cache.c  | 2 +-
 sys/kern/vfs_lookup.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index fdd32b90212f..c358de15f779 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -2588,7 +2588,7 @@ out_unlock_free:
  *
  * TODO: this routine is a hack. It blindly removes the old entry, even if it
  * happens to match and it is doing it in an inefficient manner. It was added
- * to accomodate NFS which runs into a case where the target for a given name
+ * to accommodate NFS which runs into a case where the target for a given name
  * may change from under it. Note this does nothing to solve the following
  * race: 2 callers of cache_enter_time_flags pass a different target vnode for
  * the same [dvp, cnp]. It may be argued that code doing this is broken.
diff --git a/sys/kern/vfs_lookup.c b/sys/kern/vfs_lookup.c
index 7fee9d2c488f..bbceced68e50 100644
--- a/sys/kern/vfs_lookup.c
+++ b/sys/kern/vfs_lookup.c
@@ -1599,7 +1599,7 @@ NDVALIDATE(struct nameidata *ndp)
 	case DELETE:
 	case RENAME:
 		/*
-		 * Some filesystems set SAVENAME to provoke HASBUF, accomodate
+		 * Some filesystems set SAVENAME to provoke HASBUF, accommodate
 		 * for it until it gets fixed.
 		 */
 		orig &= NDMODIFYINGFLAGS;



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