]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8ecd7072570cf3dec2f0d81870baa10167dbce4
tree756e4022cf4ed83d9be55daefa5865d4fc4137e5
parent34923f7065a96d981ab2d3a40e11b41138ee941f
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