git: c9b04ee4f8a8 - main - kern: Fix two typos in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 02 Apr 2022 12:53:08 UTC
The branch main has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=c9b04ee4f8a85ba4f6645de25c17180c752d1b04 commit c9b04ee4f8a85ba4f6645de25c17180c752d1b04 Author: Gordon Bergling <gbe@FreeBSD.org> AuthorDate: 2022-04-02 12:52:49 +0000 Commit: Gordon Bergling <gbe@FreeBSD.org> CommitDate: 2022-04-02 12:52:49 +0000 kern: Fix two typos in source code comments - s/accomodate/accommodate/ MFC after: 3 days --- 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 b3e450001e61..0b5913ef5eff 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 729c1922ee8c..b1eae2a73859 100644 --- a/sys/kern/vfs_lookup.c +++ b/sys/kern/vfs_lookup.c @@ -1670,7 +1670,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;