Commit 692d836
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>1 parent 062d04d commit 692d836
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6466 | 6466 | | |
6467 | 6467 | | |
6468 | 6468 | | |
6469 | | - | |
6470 | | - | |
6471 | 6469 | | |
6472 | 6470 | | |
6473 | 6471 | | |
6474 | 6472 | | |
| 6473 | + | |
6475 | 6474 | | |
6476 | 6475 | | |
6477 | 6476 | | |
| |||
0 commit comments