makefs(8): Fix a few typos in source code comments
- s/concearned/concerned/
- s/quadradically/quadratically/
Obtained from: NetBSD
(cherry picked from commit 164fa411b9
)
This commit is contained in:
parent
b9c307bc77
commit
3222f9a524
@ -97,7 +97,7 @@ cd9660_write_image(iso9660_disk *diskStructure, const char* image)
|
||||
|
||||
/*
|
||||
* Write the path tables: there are actually four, but right
|
||||
* now we are only concearned with two.
|
||||
* now we are only concerned with two.
|
||||
*/
|
||||
status = cd9660_write_path_tables(diskStructure, fd);
|
||||
if (status == 0) {
|
||||
|
@ -80,13 +80,13 @@ static int32_t ffs_mapsearch(struct fs *, struct cg *, daddr_t, int);
|
||||
* 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
|
||||
@ -235,7 +235,7 @@ ffs_blkpref_ufs2(struct inode *ip, daddr_t lbn, int indx, int64_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.
|
||||
*
|
||||
* `size': size for data blocks, mode for inodes
|
||||
|
Loading…
Reference in New Issue
Block a user