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>
Wed, 20 Apr 2022 22:21:26 +0000 (16:21 -0600)
commit671f6e9ba22b1f6e2ab0361b958d4c2f529043f6
tree1f437a36695edcf3eb1b76c8a19daad16a2485e3
parent95f0da7a69f63a56e68594284caf709ec61ff088
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