diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-10-10 21:42:58 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-10-10 21:42:58 -0600 |
commit | 7adf4eaf60f3d8c3584bed51fe7066d4dfc2cbe1 (patch) | |
tree | 597a5b5135c729f046493e2da0c74d4378058014 /drivers/i2c/i2c-stub.c | |
parent | 862488105b84ca744b3d8ff131e0fcfe10644be1 (diff) | |
download | linux-stable-7adf4eaf60f3d8c3584bed51fe7066d4dfc2cbe1.tar.gz linux-stable-7adf4eaf60f3d8c3584bed51fe7066d4dfc2cbe1.tar.bz2 linux-stable-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/i2c/i2c-stub.c')
0 files changed, 0 insertions, 0 deletions