[GIT PULL] io_uring fixes for 5.7-rc5

From: Jens Axboe
Date: Fri May 08 2020 - 23:12:54 EST


Hi Linus,

A few fixes that should go into this series:

- Fix finish_wait() balancing in file cancelation (Xiaoguang)

- Ensure early cleanup of resources in ring map failure (Xiaoguang)

- Ensure IORING_OP_SLICE does the right file mode checks (Pavel)

- Remove file opening from openat/openat2/statx, it's not needed and
messes with O_PATH

Please pull!


git://git.kernel.dk/linux-block.git tags/io_uring-5.7-2020-05-08


----------------------------------------------------------------
Jens Axboe (1):
io_uring: don't use 'fd' for openat/openat2/statx

Pavel Begunkov (1):
splice: move f_mode checks to do_{splice,tee}()

Xiaoguang Wang (2):
io_uring: fix mismatched finish_wait() calls in io_uring_cancel_files()
io_uring: handle -EFAULT properly in io_uring_setup()

fs/io_uring.c | 65 ++++++++++++++++++++---------------------------------------
fs/splice.c | 45 +++++++++++++++++------------------------
2 files changed, 40 insertions(+), 70 deletions(-)

--
Jens Axboe