io_uring: fix missing io_grab_files()
authorPavel Begunkov <asml.silence@gmail.com>
Sat, 27 Jun 2020 11:04:58 +0000 (14:04 +0300)
committerJens Axboe <axboe@kernel.dk>
Sun, 28 Jun 2020 14:10:17 +0000 (08:10 -0600)
commit710c2bfb66474a186b0196e3342d43db0e6c04e1
tree134f39e34c3111421582a042629003b5e3174e50
parenta6d45dd0d43e6d1275e002704540688b6768bc22
io_uring: fix missing io_grab_files()

We won't have valid ring_fd, ring_file in task work. Grab files early.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c