Browse Source

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>
Acked-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Wang Sheng-Hui 12 years ago
parent
commit
90b6d2830a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/btrfs/transaction.c

+ 1 - 1
fs/btrfs/transaction.c

@@ -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