summaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@gmail.com>2013-06-14 16:21:24 +0800
committerJosef Bacik <jbacik@fusionio.com>2013-07-01 08:52:30 -0400
commit90b6d2830a72ff008c9bbc8dfbf7aaec90be458f (patch)
treec34ed3b902e8eed21e46849888aa455c6fa3b693 /fs/btrfs
parentaee68ee5f5427b91be5b23459993134ca64ecf00 (diff)
downloadlinux-90b6d2830a72ff008c9bbc8dfbf7aaec90be458f.tar.bz2
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>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/transaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index c916ebdc689a..bcfa32c91b5d 100644
--- a/fs/btrfs/transaction.c
+++ b/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