git: 061c19c2bd29 - stable/13 - fs: fix a few common typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Wed, 09 Feb 2022 06:20:47 UTC
The branch stable/13 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=061c19c2bd29454eba63d33526fde8f5b5274477

commit 061c19c2bd29454eba63d33526fde8f5b5274477
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-02-06 12:48:31 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-09 06:18:56 +0000

    fs: fix a few common typos in source code comments
    
    - s/quadradically/quadratically/
    - s/persistant/persistent/
    
    Obtained from:  NetBSD
    
    (cherry picked from commit 8ea3ceda7644b7b93532d0c31b50ac5fa61e51a3)
---
 sys/fs/devfs/devfs_vnops.c | 2 +-
 sys/fs/ext2fs/ext2_alloc.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index 043cee74fde2..a1a06eb6c3e6 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -1354,7 +1354,7 @@ devfs_pathconf(struct vop_pathconf_args *ap)
 #ifdef MAC
 		/*
 		 * If MAC is enabled, devfs automatically supports
-		 * trivial non-persistant label storage.
+		 * trivial non-persistent label storage.
 		 */
 		*ap->a_retval = 1;
 #else
diff --git a/sys/fs/ext2fs/ext2_alloc.c b/sys/fs/ext2fs/ext2_alloc.c
index 4c265a1a8bcc..79df804aceb8 100644
--- a/sys/fs/ext2fs/ext2_alloc.c
+++ b/sys/fs/ext2fs/ext2_alloc.c
@@ -90,13 +90,13 @@ static daddr_t  ext2_mapsearch(struct m_ext2fs *, char *, daddr_t);
  *   1) allocate the requested block.
  *   2) allocate a rotationally optimal block in the same cylinder.
  *   3) allocate a block in the same cylinder group.
- *   4) quadradically rehash into other cylinder groups, until an
+ *   4) quadratically rehash into other cylinder groups, until an
  *        available block is located.
  * If no block preference is given the following hierarchy is used
  * to allocate a block:
  *   1) allocate a block in the cylinder group that contains the
  *        inode for the file.
- *   2) quadradically rehash into other cylinder groups, until an
+ *   2) quadratically rehash into other cylinder groups, until an
  *        available block is located.
  */
 int
@@ -744,7 +744,7 @@ ext2_blkpref(struct inode *ip, e2fs_lbn_t lbn, int indx, e2fs_daddr_t *bap,
  *
  * The policy implemented by this algorithm is:
  *   1) allocate the block in its requested cylinder group.
- *   2) quadradically rehash on the cylinder group number.
+ *   2) quadratically rehash on the cylinder group number.
  *   3) brute force search for a free block.
  */
 static e4fs_daddr_t