io_uring: fix a layering violation in io_iopoll_req_issued
authorChristoph Hellwig <hch@lst.de>
Tue, 12 Oct 2021 11:12:14 +0000 (13:12 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 18 Oct 2021 12:17:35 +0000 (06:17 -0600)
commit30da1b45b130c70945b033900f45c9d61d6f3b4a
tree756e4022cf4ed83d9be55daefa5865d4fc4137e5
parentf79d474905fec0bfae1244e75571b7916fe02ea2
io_uring: fix a layering violation in io_iopoll_req_issued

syscall-level code can't just poke into the details of the poll cookie,
which is private information of the block layer.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211012111226.760968-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c