From: Miao Xie Date: Tue, 15 Jan 2013 06:27:25 +0000 (+0000) Subject: Btrfs: Add ACCESS_ONCE() to transaction->abort accesses X-Git-Tag: v3.8-rc5~1^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d25a086eb104297e3ba1fdd180b04cfaaa84797;p=pandora-kernel.git Btrfs: Add ACCESS_ONCE() to transaction->abort accesses We may access and update transaction->aborted on the different CPUs without lock, so we need ACCESS_ONCE() wrapper to prevent the compiler from creating unsolicited accesses and make sure we can get the right value. Signed-off-by: Miao Xie Signed-off-by: Josef Bacik --- Reading git-diff-tree failed