We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e139a1e commit 4ea672aCopy full SHA for 4ea672a
fs/io_uring.c
@@ -1370,11 +1370,6 @@ static void io_req_track_inflight(struct io_kiocb *req)
1370
}
1371
1372
1373
-static inline void io_unprep_linked_timeout(struct io_kiocb *req)
1374
-{
1375
- req->flags &= ~REQ_F_LINK_TIMEOUT;
1376
-}
1377
-
1378
static struct io_kiocb *__io_prep_linked_timeout(struct io_kiocb *req)
1379
{
1380
if (WARN_ON_ONCE(!req->link))
@@ -6985,7 +6980,7 @@ static void __io_queue_sqe(struct io_kiocb *req)
6985
6980
switch (io_arm_poll_handler(req)) {
6986
6981
case IO_APOLL_READY:
6987
6982
if (linked_timeout)
6988
- io_unprep_linked_timeout(req);
6983
+ io_queue_linked_timeout(linked_timeout);
6989
6984
goto issue_sqe;
6990
case IO_APOLL_ABORTED:
6991
/*
0 commit comments