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)
commit6ca56f845955e325033758f90a2cffe150f31bc8
treee184e08aa690dacd7f9b7073061f207494a717a2
parent72f04da48a9828ba3ae8ac77bea648bda8b7d0ff
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