--- libeio/eio.c 2011/07/05 18:59:28 1.80 +++ libeio/eio.c 2011/07/05 20:34:42 1.81 @@ -591,9 +591,7 @@ static void etp_cancel (ETP_REQ *req) { - X_LOCK (wrklock); - req->flags |= EIO_FLAG_CANCELLED; - X_UNLOCK (wrklock); + req->cancelled = 1; eio_grp_cancel (req); }