From: Miao Xie Date: Thu, 20 Feb 2014 10:08:55 +0000 (+0800) Subject: Btrfs: remove unnecessary memory barrier in btrfs_sync_log() X-Git-Tag: v3.15-rc1~96^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7483e1a4464999c72b231af0efe39cb31fd73f14;p=pandora-kernel.git Btrfs: remove unnecessary memory barrier in btrfs_sync_log() Mutex unlock implies certain memory barriers to make sure all the memory operation completes before the unlock, and the next mutex lock implies memory barriers to make sure the all the memory happens after the lock. So it is a full memory barrier(smp_mb), we needn't add memory barriers. Remove them. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed