Skip to content

Commit 1cc8dcf

Browse files
Benoit BoissinotJesper Juhl
authored andcommitted
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>
1 parent c0d1f29 commit 1cc8dcf

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎fs/ext2/ialloc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static int find_group_dir(struct super_block *sb, struct inode *parent)
253253
* it has too few free inodes left (min_inodes) or
254254
* it has too few free blocks left (min_blocks) or
255255
* 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
257257
* conditions we search cyclically through the rest. If none
258258
* of the groups look good we just look for a group with more
259259
* free inodes than average (starting at parent's group).

‎fs/ext2/inode.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static Indirect *ext2_get_branch(struct inode *inode,
239239
* @inode: owner
240240
* @ind: descriptor of indirect block.
241241
*
242-
* This function returns the prefered place for block allocation.
242+
* This function returns the preferred place for block allocation.
243243
* It is used when heuristic for sequential allocation fails.
244244
* Rules are:
245245
* + 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)
283283
}
284284

285285
/**
286-
* ext2_find_goal - find a prefered place for allocation.
286+
* ext2_find_goal - find a preferred place for allocation.
287287
* @inode: owner
288288
* @block: block we want
289289
* @partial: pointer to the last triple within a chain

‎fs/ext3/ialloc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ static int find_group_dir(struct super_block *sb, struct inode *parent)
239239
* it has too few free inodes left (min_inodes) or
240240
* it has too few free blocks left (min_blocks) or
241241
* 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
243243
* conditions we search cyclically through the rest. If none
244244
* of the groups look good we just look for a group with more
245245
* free inodes than average (starting at parent's group).

‎fs/ext3/inode.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ static Indirect *ext3_get_branch(struct inode *inode, int depth, int *offsets,
392392
* @inode: owner
393393
* @ind: descriptor of indirect block.
394394
*
395-
* This function returns the prefered place for block allocation.
395+
* This function returns the preferred place for block allocation.
396396
* It is used when heuristic for sequential allocation fails.
397397
* Rules are:
398398
* + 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)
436436
}
437437

438438
/**
439-
* ext3_find_goal - find a prefered place for allocation.
439+
* ext3_find_goal - find a preferred place for allocation.
440440
* @inode: owner
441441
* @block: block we want
442442
* @partial: pointer to the last triple within a chain
443443
*
444-
* Normally this function find the prefered place for block allocation,
444+
* Normally this function find the preferred place for block allocation,
445445
* returns it.
446446
*/
447447

‎fs/ext4/ialloc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ static int find_group_dir(struct super_block *sb, struct inode *parent,
305305
* it has too few free inodes left (min_inodes) or
306306
* it has too few free blocks left (min_blocks) or
307307
* 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
309309
* conditions we search cyclically through the rest. If none
310310
* of the groups look good we just look for a group with more
311311
* free inodes than average (starting at parent's group).

‎fs/ext4/inode.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ static Indirect *ext4_get_branch(struct inode *inode, int depth,
382382
* @inode: owner
383383
* @ind: descriptor of indirect block.
384384
*
385-
* This function returns the prefered place for block allocation.
385+
* This function returns the preferred place for block allocation.
386386
* It is used when heuristic for sequential allocation fails.
387387
* Rules are:
388388
* + 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)
432432
}
433433

434434
/**
435-
* ext4_find_goal - find a prefered place for allocation.
435+
* ext4_find_goal - find a preferred place for allocation.
436436
* @inode: owner
437437
* @block: block we want
438438
* @partial: pointer to the last triple within a chain
439439
*
440-
* Normally this function find the prefered place for block allocation,
440+
* Normally this function find the preferred place for block allocation,
441441
* returns it.
442442
*/
443443
static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block,

0 commit comments

Comments
 (0)