linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [TRIVIAL] ext*: spelling fix prefered -> preferred
@ 2008-03-19 20:23 Benoit Boissinot
  2008-04-21 21:21 ` Jesper Juhl
  0 siblings, 1 reply; 2+ messages in thread
From: Benoit Boissinot @ 2008-03-19 20:23 UTC (permalink / raw)
  To: linux-ext4, linux-kernel, trivial

Spelling fix: prefered -> preferred

Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>

diff -r 2202c155b8c3 -r ef957e3033e5 fs/ext2/ialloc.c
--- a/fs/ext2/ialloc.c	Tue Mar 18 21:34:48 2008 -0700
+++ b/fs/ext2/ialloc.c	Wed Mar 19 21:01:45 2008 +0100
@@ -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 -r ef957e3033e5 fs/ext2/inode.c
--- a/fs/ext2/inode.c	Tue Mar 18 21:34:48 2008 -0700
+++ b/fs/ext2/inode.c	Wed Mar 19 21:01:45 2008 +0100
@@ -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 -r ef957e3033e5 fs/ext3/ialloc.c
--- a/fs/ext3/ialloc.c	Tue Mar 18 21:34:48 2008 -0700
+++ b/fs/ext3/ialloc.c	Wed Mar 19 21:01:45 2008 +0100
@@ -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 -r ef957e3033e5 fs/ext3/inode.c
--- a/fs/ext3/inode.c	Tue Mar 18 21:34:48 2008 -0700
+++ b/fs/ext3/inode.c	Wed Mar 19 21:01:45 2008 +0100
@@ -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 -r ef957e3033e5 fs/ext4/ialloc.c
--- a/fs/ext4/ialloc.c	Tue Mar 18 21:34:48 2008 -0700
+++ b/fs/ext4/ialloc.c	Wed Mar 19 21:01:45 2008 +0100
@@ -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 -r ef957e3033e5 fs/ext4/inode.c
--- a/fs/ext4/inode.c	Tue Mar 18 21:34:48 2008 -0700
+++ b/fs/ext4/inode.c	Wed Mar 19 21:01:45 2008 +0100
@@ -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,

-- 
:wq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] [TRIVIAL] ext*: spelling fix prefered -> preferred
  2008-03-19 20:23 [PATCH] [TRIVIAL] ext*: spelling fix prefered -> preferred Benoit Boissinot
@ 2008-04-21 21:21 ` Jesper Juhl
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Juhl @ 2008-04-21 21:21 UTC (permalink / raw)
  To: Benoit Boissinot; +Cc: linux-ext4, linux-kernel, trivial


I've applied this patch to the trivial tree, since I don't see it merged 
elsewhere and it looks obviously correct.

/Jesper Juhl


On Wed, 19 Mar 2008, Benoit Boissinot wrote:

> Spelling fix: prefered -> preferred
> 
> Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
> 
> diff -r 2202c155b8c3 -r ef957e3033e5 fs/ext2/ialloc.c
> --- a/fs/ext2/ialloc.c	Tue Mar 18 21:34:48 2008 -0700
> +++ b/fs/ext2/ialloc.c	Wed Mar 19 21:01:45 2008 +0100
> @@ -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 -r ef957e3033e5 fs/ext2/inode.c
> --- a/fs/ext2/inode.c	Tue Mar 18 21:34:48 2008 -0700
> +++ b/fs/ext2/inode.c	Wed Mar 19 21:01:45 2008 +0100
> @@ -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 -r ef957e3033e5 fs/ext3/ialloc.c
> --- a/fs/ext3/ialloc.c	Tue Mar 18 21:34:48 2008 -0700
> +++ b/fs/ext3/ialloc.c	Wed Mar 19 21:01:45 2008 +0100
> @@ -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 -r ef957e3033e5 fs/ext3/inode.c
> --- a/fs/ext3/inode.c	Tue Mar 18 21:34:48 2008 -0700
> +++ b/fs/ext3/inode.c	Wed Mar 19 21:01:45 2008 +0100
> @@ -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 -r ef957e3033e5 fs/ext4/ialloc.c
> --- a/fs/ext4/ialloc.c	Tue Mar 18 21:34:48 2008 -0700
> +++ b/fs/ext4/ialloc.c	Wed Mar 19 21:01:45 2008 +0100
> @@ -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 -r ef957e3033e5 fs/ext4/inode.c
> --- a/fs/ext4/inode.c	Tue Mar 18 21:34:48 2008 -0700
> +++ b/fs/ext4/inode.c	Wed Mar 19 21:01:45 2008 +0100
> @@ -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,
> 
> -- 
> :wq
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-21 21:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-19 20:23 [PATCH] [TRIVIAL] ext*: spelling fix prefered -> preferred Benoit Boissinot
2008-04-21 21:21 ` Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).