All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][trivial] Doc: treewide : Fix typos in DocBook/filesystem.xml
@ 2016-02-02 13:31 Masanari Iida
  2016-02-02 16:46 ` Randy Dunlap
  2016-02-02 19:27 ` Jonathan Corbet
  0 siblings, 2 replies; 3+ messages in thread
From: Masanari Iida @ 2016-02-02 13:31 UTC (permalink / raw)
  To: linux-kernel, trivial, akpm, corbet; +Cc: Masanari Iida

This patch fix spelling typos found in DocBook/filesystem.xml.
It is because the file was generated from comments in code,
I have to fix the comments in codes, instead of xml file.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 fs/inode.c            | 2 +-
 fs/jbd2/recovery.c    | 2 +-
 fs/jbd2/transaction.c | 6 +++---
 fs/super.c            | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/fs/inode.c b/fs/inode.c
index 9f62db3..584b81a 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1308,7 +1308,7 @@ EXPORT_SYMBOL(ilookup);
  * function must never block --- find_inode() can block in
  * __wait_on_freeing_inode() --- or when the caller can not increment
  * the reference count because the resulting iput() might cause an
- * inode eviction.  The tradeoff is that the @match funtion must be
+ * inode eviction.  The trade off is that the @match function must be
  * very carefully implemented.
  */
 struct inode *find_inode_nowait(struct super_block *sb,
diff --git a/fs/jbd2/recovery.c b/fs/jbd2/recovery.c
index 7f277e4..76579c28 100644
--- a/fs/jbd2/recovery.c
+++ b/fs/jbd2/recovery.c
@@ -304,7 +304,7 @@ int jbd2_journal_recover(journal_t *journal)
  * Locate any valid recovery information from the journal and set up the
  * journal structures in memory to ignore it (presumably because the
  * caller has evidence that it is out of date).
- * This function does'nt appear to be exorted..
+ * This function doesn't appear to be exported..
  *
  * We perform one pass over the journal to allow us to tell the user how
  * much recovery information is being erased, and to let us initialise
diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c
index 081dff0..0a89c25 100644
--- a/fs/jbd2/transaction.c
+++ b/fs/jbd2/transaction.c
@@ -543,7 +543,7 @@ EXPORT_SYMBOL(jbd2_journal_start_reserved);
  *
  * Some transactions, such as large extends and truncates, can be done
  * atomically all at once or in several stages.  The operation requests
- * a credit for a number of buffer modications in advance, but can
+ * a credit for a number of buffer modifications in advance, but can
  * extend its credit if it needs more.
  *
  * jbd2_journal_extend tries to give the running handle more buffer credits.
@@ -627,7 +627,7 @@ error_out:
  * If the jbd2_journal_extend() call above fails to grant new buffer credits
  * to a running handle, a call to jbd2_journal_restart will commit the
  * handle's transaction so far and reattach the handle to a new
- * transaction capabable of guaranteeing the requested number of
+ * transaction capable of guaranteeing the requested number of
  * credits. We preserve reserved handle if there's any attached to the
  * passed in handle.
  */
@@ -1598,7 +1598,7 @@ drop:
 
 /**
  * int jbd2_journal_stop() - complete a transaction
- * @handle: tranaction to complete.
+ * @handle: transaction to complete.
  *
  * All done for a particular handle.
  *
diff --git a/fs/super.c b/fs/super.c
index 1182af8..f0447bd 100644
--- a/fs/super.c
+++ b/fs/super.c
@@ -285,7 +285,7 @@ static void put_super(struct super_block *sb)
  *	deactivate_locked_super	-	drop an active reference to superblock
  *	@s: superblock to deactivate
  *
- *	Drops an active reference to superblock, converting it into a temprory
+ *	Drops an active reference to superblock, converting it into a temporary
  *	one if there is no other active references left.  In that case we
  *	tell fs driver to shut it down and drop the temporary reference we
  *	had just acquired.
-- 
2.7.0.229.g701fa7f

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

* Re: [PATCH][trivial] Doc: treewide : Fix typos in DocBook/filesystem.xml
  2016-02-02 13:31 [PATCH][trivial] Doc: treewide : Fix typos in DocBook/filesystem.xml Masanari Iida
@ 2016-02-02 16:46 ` Randy Dunlap
  2016-02-02 19:27 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Randy Dunlap @ 2016-02-02 16:46 UTC (permalink / raw)
  To: Masanari Iida, linux-kernel, trivial, akpm, corbet

On 02/02/16 05:31, Masanari Iida wrote:
> This patch fix spelling typos found in DocBook/filesystem.xml.
> It is because the file was generated from comments in code,
> I have to fix the comments in codes, instead of xml file.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  fs/inode.c            | 2 +-
>  fs/jbd2/recovery.c    | 2 +-
>  fs/jbd2/transaction.c | 6 +++---
>  fs/super.c            | 2 +-
>  4 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/fs/inode.c b/fs/inode.c
> index 9f62db3..584b81a 100644
> --- a/fs/inode.c
> +++ b/fs/inode.c
> @@ -1308,7 +1308,7 @@ EXPORT_SYMBOL(ilookup);
>   * function must never block --- find_inode() can block in
>   * __wait_on_freeing_inode() --- or when the caller can not increment
>   * the reference count because the resulting iput() might cause an
> - * inode eviction.  The tradeoff is that the @match funtion must be
> + * inode eviction.  The trade off is that the @match function must be

"tradeoff" is a good word.

All of the others are good changes.

Thanks.

>   * very carefully implemented.
>   */
>  struct inode *find_inode_nowait(struct super_block *sb,

-- 
~Randy

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

* Re: [PATCH][trivial] Doc: treewide : Fix typos in DocBook/filesystem.xml
  2016-02-02 13:31 [PATCH][trivial] Doc: treewide : Fix typos in DocBook/filesystem.xml Masanari Iida
  2016-02-02 16:46 ` Randy Dunlap
@ 2016-02-02 19:27 ` Jonathan Corbet
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2016-02-02 19:27 UTC (permalink / raw)
  To: Masanari Iida; +Cc: linux-kernel, trivial, akpm

On Tue,  2 Feb 2016 22:31:06 +0900
Masanari Iida <standby24x7@gmail.com> wrote:

> This patch fix spelling typos found in DocBook/filesystem.xml.
> It is because the file was generated from comments in code,
> I have to fix the comments in codes, instead of xml file.

As Randy said, "tradeoff" is fine.  This should probably go to Al Viro,
though, for merging via his VFS tree.

Thanks,

jon

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

end of thread, other threads:[~2016-02-02 19:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-02 13:31 [PATCH][trivial] Doc: treewide : Fix typos in DocBook/filesystem.xml Masanari Iida
2016-02-02 16:46 ` Randy Dunlap
2016-02-02 19:27 ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.