ext*: spelling fix prefered -> preferred
Subsystems (2)
PATCH 1/1 ext*: spelling fix prefered -> preferred
Spelling fix: prefered -> preferred
Signed-off-by Benoit Boissinot <[email protected]>
fs/ext2/ialloc.c +1 -1
@@ -253,7 +253,7 @@* it has too few free inodes left (min_inodes) or * it has too few free blocks left (min_blocks) or * it's already running too large debt (max_debt). -* Parent's group is prefered, if it doesn't satisfy these +* Parent's group is preferred, if it doesn't satisfy these * conditions we search cyclically through the rest. If none * of the groups look good we just look for a group with more * free inodes than average (starting at parent's group).
fs/ext2/inode.c +2 -2
@@ -239,7 +239,7 @@* @inode: owner * @ind: descriptor of indirect block. * -* This function returns the prefered place for block allocation. +* This function returns the preferred place for block allocation. * It is used when heuristic for sequential allocation fails. * Rules are: * + if there is a block to the left of our position - allocate near it.
@@ -283,7 +283,7 @@ }/** -* ext2_find_goal - find a prefered place for allocation. +* ext2_find_goal - find a preferred place for allocation. * @inode: owner * @block: block we want * @partial: pointer to the last triple within a chain
fs/ext3/ialloc.c +1 -1
@@ -239,7 +239,7 @@* it has too few free inodes left (min_inodes) or * it has too few free blocks left (min_blocks) or * it's already running too large debt (max_debt). -* Parent's group is prefered, if it doesn't satisfy these +* Parent's group is preferred, if it doesn't satisfy these * conditions we search cyclically through the rest. If none * of the groups look good we just look for a group with more * free inodes than average (starting at parent's group).
fs/ext3/inode.c +3 -3
@@ -392,7 +392,7 @@* @inode: owner * @ind: descriptor of indirect block. * -* This function returns the prefered place for block allocation. +* This function returns the preferred place for block allocation. * It is used when heuristic for sequential allocation fails. * Rules are: * + if there is a block to the left of our position - allocate near it.
@@ -436,12 +436,12 @@ }/** -* ext3_find_goal - find a prefered place for allocation. +* ext3_find_goal - find a preferred place for allocation. * @inode: owner * @block: block we want * @partial: pointer to the last triple within a chain * -* Normally this function find the prefered place for block allocation, +* Normally this function find the preferred place for block allocation, * returns it. */
fs/ext4/ialloc.c +1 -1
@@ -305,7 +305,7 @@* it has too few free inodes left (min_inodes) or * it has too few free blocks left (min_blocks) or * it's already running too large debt (max_debt). -* Parent's group is prefered, if it doesn't satisfy these +* Parent's group is preferred, if it doesn't satisfy these * conditions we search cyclically through the rest. If none * of the groups look good we just look for a group with more * free inodes than average (starting at parent's group).
fs/ext4/inode.c +3 -3
@@ -382,7 +382,7 @@* @inode: owner * @ind: descriptor of indirect block. * -* This function returns the prefered place for block allocation. +* This function returns the preferred place for block allocation. * It is used when heuristic for sequential allocation fails. * Rules are: * + if there is a block to the left of our position - allocate near it.
@@ -432,12 +432,12 @@ }/** -* ext4_find_goal - find a prefered place for allocation. +* ext4_find_goal - find a preferred place for allocation. * @inode: owner * @block: block we want * @partial: pointer to the last triple within a chain * -* Normally this function find the prefered place for block allocation, +* Normally this function find the preferred place for block allocation, * returns it. */ static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block,
Signature · 1 line
:wq
I've applied this patch to the trivial tree, since I don't see it merged elsewhere and it looks obviously correct.
/Jesper Juhl
Quoted 119 lines · Benoit Boissinot
Spelling fix: prefered -> preferred
Signed-off-by Benoit Boissinot <[email protected]>diff -r
2202c155b8c3-ref957e3033e5fs/ext2/ialloc.cfs/ext2/ialloc.c +1
-1@@ -253,7 +253,7 @@* it has too few free inodes left (min_inodes) or * it has too few free blocks left (min_blocks) or * it's already running too large debt (max_debt). -* Parent's group is prefered, if it doesn't satisfy these +* Parent's group is preferred, if it doesn't satisfy these * conditions we search cyclically through the rest. If none * of the groups look good we just look for a group with more * free inodes than average (starting at parent's group). diff -r
2202c155b8c3-ref957e3033e5fs/ext2/inode.cfs/ext2/inode.c +2
-2@@ -239,7 +239,7 @@* @inode: owner * @ind: descriptor of indirect block. * -* This function returns the prefered place for block allocation. +* This function returns the preferred place for block allocation. * It is used when heuristic for sequential allocation fails. * Rules are: * + if there is a block to the left of our position - allocate near it. @@ -283,7 +283,7 @@ }/** -* ext2_find_goal - find a prefered place for allocation. +* ext2_find_goal - find a preferred place for allocation. * @inode: owner * @block: block we want * @partial: pointer to the last triple within a chain diff -r
2202c155b8c3-ref957e3033e5fs/ext3/ialloc.cfs/ext3/ialloc.c +1
-1@@ -239,7 +239,7 @@* it has too few free inodes left (min_inodes) or * it has too few free blocks left (min_blocks) or * it's already running too large debt (max_debt). -* Parent's group is prefered, if it doesn't satisfy these +* Parent's group is preferred, if it doesn't satisfy these * conditions we search cyclically through the rest. If none * of the groups look good we just look for a group with more * free inodes than average (starting at parent's group). diff -r
2202c155b8c3-ref957e3033e5fs/ext3/inode.cfs/ext3/inode.c +3
-3@@ -392,7 +392,7 @@* @inode: owner * @ind: descriptor of indirect block. * -* This function returns the prefered place for block allocation. +* This function returns the preferred place for block allocation. * It is used when heuristic for sequential allocation fails. * Rules are: * + if there is a block to the left of our position - allocate near it. @@ -436,12 +436,12 @@ }/** -* ext3_find_goal - find a prefered place for allocation. +* ext3_find_goal - find a preferred place for allocation. * @inode: owner * @block: block we want * @partial: pointer to the last triple within a chain * -* Normally this function find the prefered place for block allocation, +* Normally this function find the preferred place for block allocation, * returns it. */ diff -r
2202c155b8c3-ref957e3033e5fs/ext4/ialloc.cfs/ext4/ialloc.c +1
-1@@ -305,7 +305,7 @@* it has too few free inodes left (min_inodes) or * it has too few free blocks left (min_blocks) or * it's already running too large debt (max_debt). -* Parent's group is prefered, if it doesn't satisfy these +* Parent's group is preferred, if it doesn't satisfy these * conditions we search cyclically through the rest. If none * of the groups look good we just look for a group with more * free inodes than average (starting at parent's group). diff -r
2202c155b8c3-ref957e3033e5fs/ext4/inode.cfs/ext4/inode.c +3
-3@@ -382,7 +382,7 @@* @inode: owner * @ind: descriptor of indirect block. * -* This function returns the prefered place for block allocation. +* This function returns the preferred place for block allocation. * It is used when heuristic for sequential allocation fails. * Rules are: * + if there is a block to the left of our position - allocate near it. @@ -432,12 +432,12 @@ }/** -* ext4_find_goal - find a prefered place for allocation. +* ext4_find_goal - find a preferred place for allocation. * @inode: owner * @block: block we want * @partial: pointer to the last triple within a chain * -* Normally this function find the prefered place for block allocation, +* Normally this function find the preferred place for block allocation, * returns it. */ static ext4_fsblk_t ext4_find_goal(struct inode *inode, ext4_lblk_t block,Signature · 2 lines
-- :wq