commit | 692d836351ffa05016521a769543af51c9dc3e9e | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sat Oct 10 18:34:13 2020 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Oct 10 12:49:25 2020 -0600 |
tree | 54e09ce50f27dec2bf7f82115b58865c328f75b3 | |
parent | 062d04d73168d1d7109b75600a53a6a361d1fda8 [diff] |
io_uring: don't delay io_init_req() error check Don't postpone io_init_req() error checks and do that right after calling it. There is no control-flow statements or dependencies with sqe/submitted accounting, so do those earlier, that makes the code flow a bit more natural. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>