io_queue_init: pass in flags, not io_uring_params

We don't need any of the information in there in the caller, and
this makes it harder to abuse as we don't require the caller to
have memset() the struct first.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
4 files changed
tree: 36db000c24bba813380e8df4dedf66f86713f88d
  1. src/
  2. test/
  3. .gitignore
  4. COPYING
  5. liburing.spec
  6. Makefile