io_uring: add data_race annotations
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 15 Apr 2022 21:08:33 +0000 (22:08 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Apr 2022 00:02:52 +0000 (18:02 -0600)
commita6d97a8a77cb66cbbf6a5afc6708b1c2f5b00ca2
treeec35a68c6ea380de34b7dac0cb3b84079f5bbfb6
parent17b147f6c1f21caef554004e19207810cbc08a8e
io_uring: add data_race annotations

We have several racy reads, mark them with data_race() to demonstrate
this fact.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7e56e750d294c70b2a56938bd733386f19f0eb53.1650056133.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c