File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -4035,7 +4035,7 @@ static int io_epoll_ctl_prep(struct io_kiocb *req,
4035
4035
#if defined(CONFIG_EPOLL )
4036
4036
if (sqe -> ioprio || sqe -> buf_index )
4037
4037
return - EINVAL ;
4038
- if (unlikely (req -> ctx -> flags & ( IORING_SETUP_IOPOLL | IORING_SETUP_SQPOLL ) ))
4038
+ if (unlikely (req -> ctx -> flags & IORING_SETUP_IOPOLL ))
4039
4039
return - EINVAL ;
4040
4040
4041
4041
req -> epoll .epfd = READ_ONCE (sqe -> fd );
@@ -4150,7 +4150,7 @@ static int io_fadvise(struct io_kiocb *req, unsigned int issue_flags)
4150
4150
4151
4151
static int io_statx_prep (struct io_kiocb * req , const struct io_uring_sqe * sqe )
4152
4152
{
4153
- if (unlikely (req -> ctx -> flags & ( IORING_SETUP_IOPOLL | IORING_SETUP_SQPOLL ) ))
4153
+ if (unlikely (req -> ctx -> flags & IORING_SETUP_IOPOLL ))
4154
4154
return - EINVAL ;
4155
4155
if (sqe -> ioprio || sqe -> buf_index )
4156
4156
return - EINVAL ;
@@ -5827,8 +5827,6 @@ static int io_async_cancel(struct io_kiocb *req, unsigned int issue_flags)
5827
5827
static int io_rsrc_update_prep (struct io_kiocb * req ,
5828
5828
const struct io_uring_sqe * sqe )
5829
5829
{
5830
- if (unlikely (req -> ctx -> flags & IORING_SETUP_SQPOLL ))
5831
- return - EINVAL ;
5832
5830
if (unlikely (req -> flags & (REQ_F_FIXED_FILE | REQ_F_BUFFER_SELECT )))
5833
5831
return - EINVAL ;
5834
5832
if (sqe -> ioprio || sqe -> rw_flags )
You can’t perform that action at this time.
0 commit comments