summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
authorroot <root>2011-07-05 20:34:42 +0000
committerroot <root>2011-07-05 20:34:42 +0000
commit9ec5a0945ff19e73cf8953060270c9d558be0847 (patch)
treefa2b9d13422d365d7743e612ee1258850c1f5f0e /eio.c
parentdbeca454f3dc7f49df0fd6a848061a1031eca0f7 (diff)
*** empty log message ***
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/eio.c b/eio.c
index 58a8c84..249ecea 100644
--- a/eio.c
+++ b/eio.c
@@ -591,9 +591,7 @@ etp_poll (void)
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);
}