]> 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)
commit1c9f133b0a9f7fc0f99d4d37162615e71e4292e3
tree756e4022cf4ed83d9be55daefa5865d4fc4137e5
parentc220a3405bb02fbd1e5ffb694b91393561f375a1
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