OSDN Git Service

io_uring: simplify io_alloc_req()
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Jan 2021 13:32:40 +0000 (13:32 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 17:02:42 +0000 (10:02 -0700)
commit85bcb6c67ea145b8032089db891218e3339cbdb8
treeed85002f3393bdda7bb366589a3827cc945037b7
parent888aae2eeddfe1d6c9731cf4af1a1b2605af6470
io_uring: simplify io_alloc_req()

Get rid of a label in io_alloc_req(), it's cleaner to do return
directly.

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