Commit 6ca56f8
committed
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>1 parent 72f04da commit 6ca56f8
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3786 | 3786 | | |
3787 | 3787 | | |
3788 | 3788 | | |
3789 | | - | |
| 3789 | + | |
3790 | 3790 | | |
3791 | 3791 | | |
3792 | 3792 | | |
| |||
3901 | 3901 | | |
3902 | 3902 | | |
3903 | 3903 | | |
3904 | | - | |
| 3904 | + | |
3905 | 3905 | | |
3906 | 3906 | | |
3907 | 3907 | | |
| |||
5418 | 5418 | | |
5419 | 5419 | | |
5420 | 5420 | | |
| 5421 | + | |
| 5422 | + | |
5421 | 5423 | | |
5422 | 5424 | | |
5423 | 5425 | | |
| |||
0 commit comments