diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-10-11 05:42:58 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-11 05:42:58 +0200 |
commit | 7adf4eaf60f3d8c3584bed51fe7066d4dfc2cbe1 (patch) | |
tree | 597a5b5135c729f046493e2da0c74d4378058014 /drivers/usb/dwc3 | |
parent | nbd: fix possible sysfs duplicate warning (diff) | |
download | linux-7adf4eaf60f3d8c3584bed51fe7066d4dfc2cbe1.tar.xz linux-7adf4eaf60f3d8c3584bed51fe7066d4dfc2cbe1.zip |
io_uring: fix sequence logic for timeout requests
We have two ways a request can be deferred:
1) It's a regular request that depends on another one
2) It's a timeout that tracks completions
We have a shared helper to determine whether to defer, and that
attempts to make the right decision based on the request. But we
only have some of this information in the caller. Un-share the
two timeout/defer helpers so the caller can use the right one.
Fixes: 5262f567987d ("io_uring: IORING_OP_TIMEOUT support")
Reported-by: yangerkun <yangerkun@huawei.com>
Reviewed-by: Jackie Liu <liuyun01@kylinos.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/usb/dwc3')
0 files changed, 0 insertions, 0 deletions