queue: ensure io_uring_submit() returns the right error

We weren't passing back -errno for the system call failure.
This meant any error got turned into EPERM as far as the
caller was concerned.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed
tree: 2a45748c78fe94a76e3fe7d69dde2b498ff7b43d
  1. man/
  2. src/
  3. test/
  4. .gitignore
  5. configure
  6. COPYING
  7. liburing.spec
  8. Makefile