linux/io_uring
Jens Axboe 5192d4ae17 io_uring: fix issue with io_write() not always undoing sb_start_write()
commit e053aaf4da upstream.

This is actually an older issue, but we never used to hit the -EAGAIN
path before having done sb_start_write(). Make sure that we always call
kiocb_end_write() if we need to retry the write, so that we keep the
calls to sb_start_write() etc balanced.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2022-08-31 17:18:17 +02:00
..
io-wq.c io_uring: move to separate directory 2022-08-17 15:14:20 +02:00
io-wq.h io_uring: move to separate directory 2022-08-17 15:14:20 +02:00
io_uring.c io_uring: fix issue with io_write() not always undoing sb_start_write() 2022-08-31 17:18:17 +02:00
Makefile io_uring: move to separate directory 2022-08-17 15:14:20 +02:00