]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/io_uring.c
io_uring: don't forget cflags in io_recv()
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jul 2020 20:28:01 +0000 (23:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jul 2020 19:00:45 +0000 (13:00 -0600)
commit14c32eee9286621dd437b53460e44bd11e5bc08d
tree98f408351dc8bb4fbdcf4879db5df7c3da64a80c
parent6b754c8b912a164fbb15b7b839d51709c3d9ee6f
io_uring: don't forget cflags in io_recv()

Instead of returning error from io_recv(), go through generic cleanup
path, because it'll retain cflags for userspace. Do the same for
io_send() for consistency.

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