]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - fs/fuse/dev.c
locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_...
[mirror_ubuntu-bionic-kernel.git] / fs / fuse / dev.c
index 13c65dd2d37d1ab1af358f82b42c43ba8c2cc2de..a42d89371748e51140c26a57cc4fa7dd28e4196b 100644 (file)
@@ -33,7 +33,7 @@ static struct fuse_dev *fuse_get_dev(struct file *file)
         * Lockless access is OK, because file->private data is set
         * once during mount and is valid until the file is released.
         */
-       return ACCESS_ONCE(file->private_data);
+       return READ_ONCE(file->private_data);
 }
 
 static void fuse_request_init(struct fuse_req *req, struct page **pages,