diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-09-01 13:59:19 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-09-01 15:08:29 -0600 |
commit | 32f5dea040ee6e3cc30ac52d23f1674fd5110d03 (patch) | |
tree | d3b91948c90923dfd6b74e6ce3b4e8789378723c /Documentation | |
parent | io_uring: fix IO hang in io_wq_put_and_exit from do_exit() (diff) | |
download | linux-32f5dea040ee6e3cc30ac52d23f1674fd5110d03.tar.gz linux-32f5dea040ee6e3cc30ac52d23f1674fd5110d03.tar.bz2 linux-32f5dea040ee6e3cc30ac52d23f1674fd5110d03.zip |
io_uring/fdinfo: only print ->sq_array[] if it's there
If a ring is setup with IORING_SETUP_NO_SQARRAY, then we don't have
the SQ array. Don't try to dump info from it through fdinfo if that
is the case.
Reported-by: syzbot+216e2ea6e0bf4a0acdd7@syzkaller.appspotmail.com
Fixes: 2af89abda7d9 ("io_uring: add option to remove SQ indirection")
Reviewed-by: Gabriel Krisman Bertazi <krisman@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions