Wang Sheng-Hui
2013-Jun-14 08:21 UTC
[PATCH] Btrfs: fix the comment typo for btrfs_attach_transaction_barrier
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) } /* - * 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 -- 1.7.12.4 -- 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
Miao Xie
2013-Jun-14 09:28 UTC
Re: [PATCH] Btrfs: fix the comment typo for btrfs_attach_transaction_barrier
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
2013-Jun-14 15:32 UTC
Re: [PATCH] Btrfs: fix the comment typo for btrfs_attach_transaction_barrier
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