diff options
| author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> | 2008-04-21 18:45:55 -0400 |
|---|---|---|
| committer | Jesper Juhl <juhl@hera.kernel.org> | 2008-04-21 18:45:55 -0400 |
| commit | 1cc8dcf569a3fcefb7ae32652225f2bd3e85257e (patch) | |
| tree | 23e065de096ab6cf044458967bea5baa6a98cff0 | |
| parent | c0d1f29534f2bd6c5992831eb0f648522e9b0204 (diff) | |
ext*: spelling fix prefered -> preferred
Spelling fix: prefered -> preferred
Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
| -rw-r--r-- | fs/ext2/ialloc.c | 2 | ||||
| -rw-r--r-- | fs/ext2/inode.c | 4 | ||||
| -rw-r--r-- | fs/ext3/ialloc.c | 2 | ||||
| -rw-r--r-- | fs/ext3/inode.c | 6 | ||||
| -rw-r--r-- | fs/ext4/ialloc.c | 2 | ||||
| -rw-r--r-- | fs/ext4/inode.c | 6 |
6 files changed, 11 insertions, 11 deletions
diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c index 5deb8b74e649..08f647d8188d 100644 --- a/fs/ext2/ialloc.c +++ b/fs/ext2/ialloc.c | |||
| @@ -253,7 +253,7 @@ static int find_group_dir(struct super_block *sb, struct inode *parent) | |||
| 253 | * it has too few free inodes left (min_inodes) or | 253 | * it has too few free inodes left (min_inodes) or |
| 254 | * it has too few free blocks left (min_blocks) or | 254 | * it has too few free blocks left (min_blocks) or |
| 255 | * it's already running too large debt (max_debt). | 255 | * it's already running too large debt (max_debt). |
| 256 | * Parent's group is prefered, if it doesn't satisfy these | 256 | * Parent's group is preferred, if it doesn't satisfy these |
| 257 | * conditions we search cyclically through the rest. If none | 257 | * conditions we search cyclically through the rest. If none |
| 258 | * of the groups look good we just look for a group with more | 258 | * of the groups look good we just look for a group with more |
| 259 | * free inodes than average (starting at parent's group). | 259 | * free inodes than average (starting at parent's group). |
diff --git a/fs/ext2/inode.c b/fs/ext2/inode.c index c62006805427..b8a2990bab83 100644 --- a/fs/ext2/inode.c +++ b/fs/ext2/inode.c | |||
| @@ -239,7 +239,7 @@ no_block: | |||
| 239 | * @inode: owner | 239 | * @inode: owner |
| 240 | * @ind: descriptor of indirect block. | 240 | * @ind: descriptor of indirect block. |
| 241 | * | 241 | * |
| 242 | * This function returns the prefered place for block allocation. | 242 | * This function returns the preferred place for block allocation. |
| 243 | * It is used when heuristic for sequential allocation fails. | 243 | * It is used when heuristic for sequential allocation fails. |
| 244 | * Rules are: | 244 | * Rules are: |
| 245 | * + if there is a block to the left of our position - allocate near it. | 245 | * + if there is a block to the left of our position - allocate near it. |
| @@ -283,7 +283,7 @@ static unsigned long ext2_find_near(struct inode *inode, Indirect *ind) | |||
| 283 | } | 283 | } |
| 284 | 284 | ||
| 285 | /** | 285 | /** |
| 286 | * ext2_find_goal - find a prefered place for allocation. | 286 | * ext2_find_goal - find a preferred place for allocation. |
| 287 | * @inode: owner | 287 | * @inode: owner |
| 288 | * @block: block we want | 288 | * @block: block we want |
| 289 | * @partial: pointer to the last triple within a chain | 289 | * @partial: pointer to the last triple within a chain |
diff --git a/fs/ext3/ialloc.c b/fs/ext3/ialloc.c index 4f4020c54683..96dd5573e49b 100644 --- a/fs/ext3/ialloc.c +++ b/fs/ext3/ialloc.c | |||
| @@ -239,7 +239,7 @@ static int find_group_dir(struct super_block *sb, struct inode *parent) | |||
| 239 | * it has too few free inodes left (min_inodes) or | 239 | * it has too few free inodes left (min_inodes) or |
| 240 | * it has too few free blocks left (min_blocks) or | 240 | * it has too few free blocks left (min_blocks) or |
| 241 | * it's already running too large debt (max_debt). | 241 | * it's already running too large debt (max_debt). |
| 242 | * Parent's group is prefered, if it doesn't satisfy these | 242 | * Parent's group is preferred, if it doesn't satisfy these |
| 243 | * conditions we search cyclically through the rest. If none | 243 | * conditions we search cyclically through the rest. If none |
| 244 | * of the groups look good we just look for a group with more | 244 | * of the groups look good we just look for a group with more |
| 245 | * free inodes than average (starting at parent's group). | 245 | * free inodes than average (starting at parent's group). |
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c index eb95670a27eb..c683609b0e3a 100644 --- a/fs/ext3/inode.c +++ b/fs/ext3/inode.c | |||
| @@ -392,7 +392,7 @@ no_block: | |||
| 392 | * @inode: owner | 392 | * @inode: owner |
| 393 | * @ind: descriptor of indirect block. | 393 | * @ind: descriptor of indirect block. |
| 394 | * | 394 | * |
| 395 | * This function returns the prefered place for block allocation. | 395 | * This function returns the preferred place for block allocation. |
| 396 | * It is used when heuristic for sequential allocation fails. | 396 | * It is used when heuristic for sequential allocation fails. |
| 397 | * Rules are: | 397 | * Rules are: |
| 398 | * + if there is a block to the left of our position - allocate near it. | 398 | * + if there is a block to the left of our position - allocate near it. |
| @@ -436,12 +436,12 @@ static ext3_fsblk_t ext3_find_near(struct inode *inode, Indirect *ind) | |||
| 436 | } | 436 | } |
| 437 | 437 | ||
| 438 | /** | 438 | /** |
| 439 | * ext3_find_goal - find a prefered place for allocation. | 439 | * ext3_find_goal - find a preferred place for allocation. |
| 440 | * @inode: owner | 440 | * @inode: owner |
| 441 | * @block: block we want | 441 | * @block: block we want |
| 442 | * @partial: pointer to the last triple within a chain | 442 | * @partial: pointer to the last triple within a chain |
| 443 | * | 443 | * |
| 444 | * Normally this function find the prefered place for block allocation, | 444 | * Normally this function find the preferred place for block allocation, |
| 445 | * returns it. | 445 | * returns it. |
| 446 | */ | 446 | */ |
| 447 | 447 | ||
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c index 8036b9b5376b..486e46a3918d 100644 --- a/fs/ext4/ialloc.c +++ b/fs/ext4/ialloc.c | |||
| @@ -305,7 +305,7 @@ static int find_group_dir(struct super_block *sb, struct inode *parent, | |||
| 305 | * it has too few free inodes left (min_inodes) or | 305 | * it has too few free inodes left (min_inodes) or |
| 306 | * it has too few free blocks left (min_blocks) or | 306 | * it has too few free blocks left (min_blocks) or |
| 307 | * it's already running too large debt (max_debt). | 307 | * it's already running too large debt (max_debt). |
| 308 | * Parent's group is prefered, if it doesn't satisfy these | 308 | * Parent's group is preferred, if it doesn't satisfy these |
| 309 | * conditions we search cyclically through the rest. If none | 309 | * conditions we search cyclically through the rest. If none |
| 310 | * of the groups look good we just look for a group with more | 310 | * of the groups look good we just look for a group with more |
| 311 | * free inodes than average (starting at parent's group). | 311 | * free inodes than average (starting at parent's group). |
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 945cbf6cb1fc..8fab233cb05f 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
| @@ -382,7 +382,7 @@ no_block: | |||
| 382 | * @inode: owner | 382 | * @inode: owner |
| 383 | * @ind: descriptor of indirect block. | 383 | * @ind: descriptor of indirect block. |
| 384 | * | 384 | * |
| 385 | * This function returns the prefered place for block allocation. | 385 | * This function returns the preferred place for block allocation. |
| 386 | * It is used when heuristic for sequential allocation fails. | 386 | * It is used when heuristic for sequential allocation fails. |
| 387 | * Rules are: | 387 | * Rules are: |
| 388 | * + if there is a block to the left of our position - allocate near it. | 388 | * + if there is a block to the left of our position - allocate near it. |
| @@ -432,12 +432,12 @@ static ext4_fsblk_t ext4_find_near(struct inode *inode, Indirect *ind) | |||
| 432 | } | 432 | } |
| 433 | 433 | ||
| 434 | /** | 434 | /** |
| 435 | * ext4_find_goal - find a prefered place for allocation. | 435 | * ext4_find_goal - find a preferred place for allocation. |
| 436 | * @inode: owner | 436 | * @inode: owner |
| 437 | * @block: block we want | 437 | * @block: block we want |
| 438 | * @partial: pointer to the last triple within a chain | 438 | * @partial: pointer to the last triple within a chain |
| 439 | * | 439 | * |
| 440 | * Normally this function find the prefered place for block allocation, | 440 | * Normally this function find the preferred place for block allocation, |
| 441 | * returns it. | 441 | * returns it. |
| 442 | */ | 442 | */ |
| 443 | static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block, | 443 | static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block, |
