ceph: cleanup ACCESS_ONCE -> READ_ONCE
This removes the uses of ACCESS_ONCE in favor of READ_ONCE Signed-off-by: Seraphime Kirkovski <kirkseraph@gmail.com> Signed-off-by: Yan, Zheng <zyan@redhat.com>
此提交包含在:
@@ -2477,7 +2477,7 @@ again:
|
||||
|
||||
if (ci->i_ceph_flags & CEPH_I_CAP_DROPPED) {
|
||||
int mds_wanted;
|
||||
if (ACCESS_ONCE(mdsc->fsc->mount_state) ==
|
||||
if (READ_ONCE(mdsc->fsc->mount_state) ==
|
||||
CEPH_MOUNT_SHUTDOWN) {
|
||||
dout("get_cap_refs %p forced umount\n", inode);
|
||||
*err = -EIO;
|
||||
|
新增問題並參考
封鎖使用者