diff mbox

Btrfs: fix the comment typo for btrfs_attach_transaction_barrier

Message ID CAKXJSOEhk5tYpJd3L4r9zNsEFHRihz+tZXv4hZ5gAmDF_1G9cQ@mail.gmail.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Wang Sheng-Hui June 14, 2013, 8:21 a.m. UTC
The comment is for btrfs_attach_transaction_barrier, not for
btrfs_attach_transaction. Fix the typo.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
 fs/btrfs/transaction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

  * will wait for all the inactive transactions until they fully

Comments

Miao Xie June 14, 2013, 9:28 a.m. UTC | #1
On 	fri, 14 Jun 2013 16:21:24 +0800, Wang Sheng-Hui wrote:
> The comment is for btrfs_attach_transaction_barrier, not for
> btrfs_attach_transaction. Fix the typo.
> 
> Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>

My miss, sorry.

Acked-by: Miao Xie <miaox@cn.fujitsu.com>

> ---
>  fs/btrfs/transaction.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
> index 0544587..6d4c595 100644
> --- a/fs/btrfs/transaction.c
> +++ b/fs/btrfs/transaction.c
> @@ -490,7 +490,7 @@ struct btrfs_trans_handle
> *btrfs_attach_transaction(struct btrfs_root *root)
>  }
> 
>  /*
> - * btrfs_attach_transaction() - catch the running transaction
> + * btrfs_attach_transaction_barrier() - catch the running transaction
>   *
>   * It is similar to the above function, the differentia is this one
>   * will wait for all the inactive transactions until they fully
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Josef Bacik June 14, 2013, 3:32 p.m. UTC | #2
On Fri, Jun 14, 2013 at 02:21:24AM -0600, Wang Sheng-Hui wrote:
> The comment is for btrfs_attach_transaction_barrier, not for
> btrfs_attach_transaction. Fix the typo.
> 
> Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
> ---
>  fs/btrfs/transaction.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
> index 0544587..6d4c595 100644
> --- a/fs/btrfs/transaction.c
> +++ b/fs/btrfs/transaction.c
> @@ -490,7 +490,7 @@ struct btrfs_trans_handle
> *btrfs_attach_transaction(struct btrfs_root *root)
>  }

Word wrapped, please be careful about this sort of thing in the future, use git
send-email for example.  Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index 0544587..6d4c595 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -490,7 +490,7 @@  struct btrfs_trans_handle
*btrfs_attach_transaction(struct btrfs_root *root)
 }

 /*
- * btrfs_attach_transaction() - catch the running transaction
+ * btrfs_attach_transaction_barrier() - catch the running transaction
  *
  * It is similar to the above function, the differentia is this one