io_uring: tie req->apoll to request lifetime
authorJens Axboe <axboe@kernel.dk>
Thu, 15 Apr 2021 15:52:40 +0000 (09:52 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Apr 2021 15:47:02 +0000 (09:47 -0600)
commit75652a30ff67539999148859da071ede862090ca
treeffb530e245f15edb43d4cdb12cac1fe614d65ba8
parent4e3d9ff905cd3e6fc80a1f54b89c3aca67bc72be
io_uring: tie req->apoll to request lifetime

We manage these separately right now, just tie it to the request lifetime
and make it be part of the usual REQ_F_NEED_CLEANUP logic.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c