io_uring: early submission req fail code
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 11 Apr 2020 23:05:03 +0000 (02:05 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 12 Apr 2020 14:46:44 +0000 (08:46 -0600)
commit1d4240cc9e7bb101dac58f30283fa24a809f5606
treed0e386c3992def448b13527c0f7c3bef9cc912b6
parentbf9c2f1cdcc718b6d2d41172f6ca005fe22cc7ff
io_uring: early submission req fail code

Having only one place for cleaning up a request after a link assembly/
submission failure will play handy in the future. At least it allows
to remove duplicated cleanup sequence.

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