Compare commits

..

No commits in common. "688211fbcd29ae973d394efb731b6ffc9f21ce51" and "ddc528d69d339ab307093fc6f41d9677c73275a9" have entirely different histories.

1 changed files with 1 additions and 5 deletions

View File

@ -73,11 +73,7 @@ static int sf_uring_cancel_done(int sock, const int event, void *arg)
task = (struct fast_task_info *)arg;
if (event != IOEVENT_TIMEOUT) {
if (task->handler->use_io_uring || (FC_URING_OP_TYPE(task) !=
IORING_OP_NOP && task->event.res == -ECANCELED))
{
CLEAR_OP_TYPE_AND_RELEASE_TASK(task);
}
CLEAR_OP_TYPE_AND_RELEASE_TASK(task);
}
return 0;
}