]> git.baikalelectronics.ru Git - kernel.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)
committerJens Axboe <axboe@kernel.dk>
Mon, 21 Sep 2020 13:51:00 +0000 (07:51 -0600)
commitb4d48fbedf668ffd674ce8c202c7282218967cee
treee184e08aa690dacd7f9b7073061f207494a717a2
parent5c940866c7d7725c9674769270d6a395fff1c285
io_uring: mark statx/files_update/epoll_ctl as non-SQPOLL

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>
fs/io_uring.c