From: Mikulas Patocka Date: Fri, 12 Oct 2012 15:59:46 +0000 (+0100) Subject: dm: use ACCESS_ONCE for sysfs values X-Git-Tag: v3.7-rc1~21^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe5fe90639b62a75349dd1f1c74c4a984397171c;p=pandora-kernel.git dm: use ACCESS_ONCE for sysfs values Use the ACCESS_ONCE macro in dm-bufio and dm-verity where a variable can be modified asynchronously (through sysfs) and we want to prevent compiler optimizations that assume that the variable hasn't changed. (See Documentation/atomic_ops.txt.) Signed-off-by: Mikulas Patocka Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed