summaryrefslogtreecommitdiffstats
path: root/arch/c6x
diff options
context:
space:
mode:
authorMiao Xie <miaox@cn.fujitsu.com>2013-01-15 06:27:25 +0000
committerJosef Bacik <jbacik@fusionio.com>2013-01-24 12:51:23 -0500
commit8d25a086eb104297e3ba1fdd180b04cfaaa84797 (patch)
tree075e3a0e731b08a418ad65dfd4e0bb53818a40c1 /arch/c6x
parente58dd74bccb4317e39e4b675bf9c6cd133608fac (diff)
downloadlinux-stable-8d25a086eb104297e3ba1fdd180b04cfaaa84797.tar.gz
linux-stable-8d25a086eb104297e3ba1fdd180b04cfaaa84797.tar.bz2
linux-stable-8d25a086eb104297e3ba1fdd180b04cfaaa84797.zip
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 <miaox@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions