]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit833c4fd593e6393a031b44688054032c94135154
tree98f408351dc8bb4fbdcf4879db5df7c3da64a80c
parentc5ac0d49b5a27d6cc6ab53ce2f32ea6e4b980a82
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