commit | 0424c548976b4c2a72c0bdbea425cf9d51e82d0f | [log] [tgz] |
---|---|---|
author | Miao Xie <miaox@cn.fujitsu.com> | Thu Mar 06 13:54:59 2014 +0800 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:17:25 2014 -0400 |
tree | c2b23a67f9f423969676d4f5ec8fc5836d48d2ea | |
parent | b88935bf9822cda58fd70dffe8e016d448757d40 [diff] |
Btrfs: remove unnecessary lock in may_commit_transaction() The reason is: - The per-cpu counter has its own lock to protect itself. - Here we needn't get a exact value. Signed-off-by: Miao Xie <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>