io_uring: use nospec annotation for more indexes
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 7 Apr 2022 13:05:05 +0000 (14:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Apr 2022 07:34:17 +0000 (09:34 +0200)
commitb8ed0f7531f30c7ab5ee5e83b704fecb86acf3dc
tree230ecf41d88a53b91dd9c42f7179d631f6ac49cd
parent5218d5cc02833e9495bba401d6af7d7801fb22cc
io_uring: use nospec annotation for more indexes

[ Upstream commit 4cdd158be9d09223737df83136a1fb65269d809a ]

There are still several places that using pre array_index_nospec()
indexes, fix them up.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b01ef5ee83f72ed35ad525912370b729f5d145f4.1649336342.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/io_uring.c