Skip to content
Commit 18bfb9c6 authored by Dan Carpenter's avatar Dan Carpenter Committed by Al Viro
Browse files

aio: Fix an error code in __io_submit_one()



This accidentally returns the wrong variable.  The "req->ki_eventfd"
pointer is NULL so this return success.

Fixes: 7316b49c ("aio: move sanity checks and request allocation to io_submit_one()")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 5e7a8ca3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment