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, 18 Apr 2022 01:23:58 +0000 (19:23 -0600)
commite27fc3fb3d4722e2faa67a9bb340ac42d6bbdbea
tree35d24d53634fc402edb0c41ad8adbc8dd3ea8d7f
parentaacdc8a67f52dc96bd9e36f85e7a99705020be3d
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