io_uring: simplify __io_queue_sqe()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 22 Oct 2020 15:47:18 +0000 (16:47 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Oct 2020 19:07:12 +0000 (13:07 -0600)
commit0d63c148d6d9ac57c124b618f66269bb4558553b
treea8bc28f860ba02f9eade93de87fd0300fe715f47
parent9aaf354352f1142831457492790d6bfa9c883021
io_uring: simplify __io_queue_sqe()

Restructure __io_queue_sqe() so it follows simple if/else if/else
control flow. It's more readable and removes extra goto/labels.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c