Btrfs: fix the comment typo for btrfs_attach_transaction_barrier
authorWang Sheng-Hui <shhuiw@gmail.com>
Fri, 14 Jun 2013 08:21:24 +0000 (16:21 +0800)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 1 Jul 2013 12:52:30 +0000 (08:52 -0400)
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>
Acked-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/transaction.c

index c916ebdc689a3091f00e4ba5ca10033aa139fd17..bcfa32c91b5dd7dc4ea84aa2e5e6598f45b1bd10 100644 (file)
@@ -529,7 +529,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