diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-11-20 09:26:29 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-11-25 19:56:06 -0700 |
commit | eb065d301e8c83643367bdb0898becc364046bda (patch) | |
tree | daa735914c94651012eaf4ef7776d23e2417fc5c /fs/ntfs/collate.h | |
parent | bbad27b2f622fa26d107f8a72c0cd5cc102dc56e (diff) | |
download | linux-eb065d301e8c83643367bdb0898becc364046bda.tar.bz2 |
io_uring: io_allocate_scq_urings() should return a sane state
We currently rely on the ring destroy on cleaning things up in case of
failure, but io_allocate_scq_urings() can leave things half initialized
if only parts of it fails.
Be nice and return with either everything setup in success, or return an
error with things nicely cleaned up.
Reported-by: syzbot+0d818c0d39399188f393@syzkaller.appspotmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ntfs/collate.h')
0 files changed, 0 insertions, 0 deletions