]> git.itanic.dy.fi Git - linux-stable/commit
io_uring/fs: remove sqe->rw_flags checking from LINKAT
authorJens Axboe <axboe@kernel.dk>
Thu, 28 Sep 2023 15:23:27 +0000 (09:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 29 Sep 2023 09:07:09 +0000 (03:07 -0600)
commita52d4f657568d6458e873f74a9602e022afe666f
tree34566317eb5cca0dd9e5ada9d0cd61b0d7b02c72
parentc21a8027ad8a68c340d0d58bf1cc61dcb0bc4d2f
io_uring/fs: remove sqe->rw_flags checking from LINKAT

This is unionized with the actual link flags, so they can of course be
set and they will be evaluated further down. If not we fail any LINKAT
that has to set option flags.

Fixes: cf30da90bc3a ("io_uring: add support for IORING_OP_LINKAT")
Cc: stable@vger.kernel.org
Reported-by: Thomas Leonard <talex5@gmail.com>
Link: https://github.com/axboe/liburing/issues/955
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/fs.c