diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-04-03 08:22:35 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-04-03 18:47:36 +0200 |
commit | 18bfb9c6a8a5fbfe1a732130bb8f65fcfc4e8aa2 (patch) | |
tree | 4dc3b33c7cdcc7d0e5564d3e9dd0ab8c3cad72ac /lib/iov_iter.c | |
parent | Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro... (diff) | |
download | linux-18bfb9c6a8a5fbfe1a732130bb8f65fcfc4e8aa2.tar.xz linux-18bfb9c6a8a5fbfe1a732130bb8f65fcfc4e8aa2.zip |
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: 7316b49c2a11 ("aio: move sanity checks and request allocation to io_submit_one()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'lib/iov_iter.c')
0 files changed, 0 insertions, 0 deletions