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)
commitd36ef937a407de8ba40970944f210c3efeeb5f5f
treee184e08aa690dacd7f9b7073061f207494a717a2
parent8b68b5da730b342c2f8bfdd1aa8438bdbb64d280
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