io_uring: use right issue_flags for splice/tee
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 13 Apr 2022 15:10:33 +0000 (16:10 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 13 Apr 2022 16:25:36 +0000 (10:25 -0600)
commite941976659f1f6834077a1596bf53e6bdb10e90b
tree86ec33e4834b542cf3c84294b2ce3ef69994771f
parentd2347b9695dafe5c388a5f9aeb70e27a7a4d29cf
io_uring: use right issue_flags for splice/tee

Pass right issue_flags into into io_file_get_fixed() instead of
IO_URING_F_UNLOCKED. It's probably not a problem at the moment but let's
do it safer.

Fixes: 6bf9c47a3989 ("io_uring: defer file assignment")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/7d242daa9df5d776907686977cd29fbceb4a2d8d.1649862516.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c