File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1291,7 +1291,6 @@ int io_send_zc_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
1291
1291
1292
1292
zc -> done_io = 0 ;
1293
1293
zc -> retry = false;
1294
- req -> flags |= REQ_F_POLL_NO_LAZY ;
1295
1294
1296
1295
if (unlikely (READ_ONCE (sqe -> __pad2 [0 ]) || READ_ONCE (sqe -> addr3 )))
1297
1296
return - EINVAL ;
@@ -1305,7 +1304,7 @@ int io_send_zc_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe)
1305
1304
notif -> cqe .user_data = req -> cqe .user_data ;
1306
1305
notif -> cqe .res = 0 ;
1307
1306
notif -> cqe .flags = IORING_CQE_F_NOTIF ;
1308
- req -> flags |= REQ_F_NEED_CLEANUP ;
1307
+ req -> flags |= REQ_F_NEED_CLEANUP | REQ_F_POLL_NO_LAZY ;
1309
1308
1310
1309
zc -> flags = READ_ONCE (sqe -> ioprio );
1311
1310
if (unlikely (zc -> flags & ~IO_ZC_FLAGS_COMMON )) {
You can’t perform that action at this time.
0 commit comments