We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c68826 commit 1b48773Copy full SHA for 1b48773
fs/io_uring.c
@@ -6019,11 +6019,13 @@ static bool io_drain_req(struct io_kiocb *req)
6019
6020
ret = io_req_prep_async(req);
6021
if (ret)
6022
- return ret;
+ goto fail;
6023
io_prep_async_link(req);
6024
de = kmalloc(sizeof(*de), GFP_KERNEL);
6025
if (!de) {
6026
- io_req_complete_failed(req, -ENOMEM);
+ ret = -ENOMEM;
6027
+fail:
6028
+ io_req_complete_failed(req, ret);
6029
return true;
6030
}
6031
0 commit comments