io_uring: don't double complete failed reissue request
Jens Axboe
maintainerPATCH 1/1 io_uring: don't double complete failed reissue request
Zorro reports that an xfstest test case is failing, and it turns out that for the reissue path we can potentially issue a double completion on the request for the failure path. There's an issue around the retry as well, but for now, at least just make sure that we handle the error path correctly.
Reported-by Zorro Lang <[email protected]>
Signed-off-by Jens Axboe <[email protected]>
---
fs/io_uring.c +0 -1
@@ -2578,7 +2578,6 @@ static bool io_resubmit_prep(struct io_kiocb *req, int error) } end_req:req_set_fail_links (req); -io_req_complete (req, ret);return false; }#endif
Signature · 1 line
Jens Axboe