]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: add IOPOLL and reserved field checks to IORING_OP_RENAMEAT
authorJens Axboe <axboe@kernel.dk>
Wed, 23 Jun 2021 15:04:13 +0000 (09:04 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 30 Jun 2021 20:15:39 +0000 (14:15 -0600)
commit0c94c59fac7415fccff370c352a74fe8e75ca450
tree3c4eb84996a921f2dce86d31c5ceb03513cc4aad
parent61a15ecdfcf056d4ec4035e64c9c9b4f493b22c0
io_uring: add IOPOLL and reserved field checks to IORING_OP_RENAMEAT

We can't support IOPOLL with non-pollable request types, and we should
check for unused/reserved fields like we do for other request types.

Fixes: 48c4da83a0b9 ("io_uring: add support for IORING_OP_RENAMEAT")
Cc: stable@vger.kernel.org
Reported-by: Dmitry Kadashev <dkadashev@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c