git: fc39cc1df745 - stable/13 - ffs(3): Fix a common typo in source code comments

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

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

commit fc39cc1df74514f490d6dc865b13768df1538da6
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:34:01 +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 50b176b262f4..8049657dc13d 100644
--- a/sys/ufs/ffs/ffs_alloc.c
+++ b/sys/ufs/ffs/ffs_alloc.c
@@ -138,13 +138,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
@@ -1095,12 +1095,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
@@ -1608,7 +1608,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