aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/writeback.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-24 10:24:45 -0600
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:32 -0600
commite053aaf4da56cbf0afb33a0fda4a62188e2c0637 (patch)
tree4dbe314803d0eddfdcea133396452dbb977c03b2 /include/linux/writeback.h
parentio_uring: Add support for async buffered writes (diff)
downloadlinux-rng-e053aaf4da56cbf0afb33a0fda4a62188e2c0637.tar.xz
linux-rng-e053aaf4da56cbf0afb33a0fda4a62188e2c0637.zip
io_uring: fix issue with io_write() not always undoing sb_start_write()
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>
Diffstat (limited to 'include/linux/writeback.h')
0 files changed, 0 insertions, 0 deletions