diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-07-11 22:41:13 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-07-11 16:39:06 -0600 |
commit | 1b48773f9fd09f311d1166ce1dd50652ebe05218 (patch) | |
tree | 1adf6e9f4fd635bcc4ad8e1a2641e32e91c24f77 /arch/x86/pci/init.c | |
parent | 9c6882608bce249a8918744ecdb65748534e3f17 (diff) |
io_uring: fix io_drain_req()
io_drain_req() return whether the request has been consumed or not, not
an error code. Fix a stupid mistake slipped from optimisation patches.
Reported-by: syzbot+ba6fcd859210f4e9e109@syzkaller.appspotmail.com
Fixes: 76cc33d79175a ("io_uring: refactor io_req_defer()")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/4d3c53c4274ffff307c8ae062fc7fda63b978df2.1626039606.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch/x86/pci/init.c')
0 files changed, 0 insertions, 0 deletions