kern: Fix two typos in source code comments

- s/accomodate/accommodate/

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2022-04-02 14:52:49 +02:00
parent 9097d2f5d1
commit c9b04ee4f8
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

@ -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;