summaryrefslogtreecommitdiff
path: root/sys/ufs/ext2fs
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2005-05-02 13:13:22 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2005-05-02 13:13:22 +0000
commitd833fd94b1437c6ff2bf59e4b7f223e0f5f347f9 (patch)
tree65da96eee124f89965e534a7b2427932f5aaeef5 /sys/ufs/ext2fs
parent7bbb8f0c68bc240ad5e99691d91ae67876a09706 (diff)
quadradically -> quadratically, lots of
Diffstat (limited to 'sys/ufs/ext2fs')
-rw-r--r--sys/ufs/ext2fs/ext2fs_alloc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/ufs/ext2fs/ext2fs_alloc.c b/sys/ufs/ext2fs/ext2fs_alloc.c
index 8c3e3e2dc64..45adc200a12 100644
--- a/sys/ufs/ext2fs/ext2fs_alloc.c
+++ b/sys/ufs/ext2fs/ext2fs_alloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext2fs_alloc.c,v 1.17 2004/09/18 22:01:18 tedu Exp $ */
+/* $OpenBSD: ext2fs_alloc.c,v 1.18 2005/05/02 13:13:21 pedro Exp $ */
/* $NetBSD: ext2fs_alloc.c,v 1.10 2001/07/05 08:38:27 toshii Exp $ */
/*
@@ -70,13 +70,13 @@ static ufs1_daddr_t ext2fs_mapsearch(struct m_ext2fs *, char *, ufs1_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
@@ -127,12 +127,12 @@ nospace:
* 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
@@ -267,7 +267,7 @@ ext2fs_blkpref(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.
*/
static u_long