git: 1552ec81a481 - stable/12 - ffs(3): Fix a common typo in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sat, 02 Apr 2022 13:43:43 UTC
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=1552ec81a481b8e9864e6130e7da9ffebb5803b6

commit 1552ec81a481b8e9864e6130e7da9ffebb5803b6
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-03-27 16:03:16 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-02 13:37:20 +0000

    ffs(3): Fix a common typo in source code comments
    
    - s/quadradically/quadratically/
    
    Obtained from:  NetBSD
    
    (cherry picked from commit 2733b242e4c69240fed52854682f0c3b0079be17)
---
 sys/ufs/ffs/ffs_alloc.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c
index 842b88ec178c..3721f54db283 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -136,13 +136,13 @@ static void	ffs_ckhash_cg(struct buf *);
  *   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
@@ -1077,12 +1077,12 @@ fail:
  * If allocating in a directory, the following hierarchy is followed:
  *   1) allocate the preferred inode.
  *   2) allocate an inode in the same cylinder group.
- *   3) quadradically rehash into other cylinder groups, until an
+ *   3) quadratically rehash into other cylinder groups, until an
  *      available inode is located.
  * If no inode preference is given the following hierarchy is used
  * to allocate an inode:
  *   1) allocate an inode in cylinder group 0.
- *   2) quadradically rehash into other cylinder groups, until an
+ *   2) quadratically rehash into other cylinder groups, until an
  *      available inode is located.
  */
 int
@@ -1589,7 +1589,7 @@ ffs_blkpref_ufs2(ip, lbn, indx, 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.
  *
  * Must be called with the UFS lock held.  Will release the lock on success