From: Miao Xie Date: Thu, 6 Mar 2014 05:54:59 +0000 (+0800) Subject: Btrfs: remove unnecessary lock in may_commit_transaction() X-Git-Tag: v3.15-rc1~96^2~17 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0424c548976b4c2a72c0bdbea425cf9d51e82d0f;p=pandora-kernel.git 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 Signed-off-by: Josef Bacik --- Reading git-diff-tree failed