From: Miao Xie Date: Fri, 16 Nov 2012 09:23:50 +0000 (+0800) Subject: vfs, freeze: use ACCESS_ONCE() to guard access to ->mnt_flags X-Git-Tag: v3.8-rc1~13^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e75529e3c6c18dc535f38454173c4f2dfa99685;p=pandora-kernel.git vfs, freeze: use ACCESS_ONCE() to guard access to ->mnt_flags The compiler may optimize the while loop and make the check just be done once, so we should use ACCESS_ONCE() to guard access to ->mnt_flags Signed-off-by: Miao Xie Signed-off-by: Al Viro --- Reading git-diff-tree failed