]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring: mark statx/files_update/epoll_ctl as non-SQPOLL
authorJens Axboe <axboe@kernel.dk>
Fri, 18 Sep 2020 22:51:19 +0000 (16:51 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Oct 2020 06:02:49 +0000 (08:02 +0200)
commitf833ed7a202b4b8c059409a20430cd234140a486
tree53a1b1a410b2d832be53e0624d35de4d28f6320c
parentfc4b56ae9e76b59f8db5a38eaf8e771e03fc9ead
io_uring: mark statx/files_update/epoll_ctl as non-SQPOLL

[ Upstream commit 6ca56f845955e325033758f90a2cffe150f31bc8 ]

These will naturally fail when attempted through SQPOLL, but either
with -EFAULT or -EBADF. Make it explicit that these are not workable
through SQPOLL and return -EINVAL, just like other ops that need to
use ->files.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/io_uring.c