commit | bf50722a3c4a83aae651dc20b708308a4f119eb9 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Mar 11 00:58:40 2012 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Tue Mar 20 21:29:39 2012 -0400 |
tree | 08d4724ae2239d2d23040eae730ad7980f4a2299 | |
parent | 9fa1cb397fa052fc9acfaf5a9f2faff31e10f6b7 [diff] [blame] |
aio: use cancel_delayed_work_sync() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/aio.c b/fs/aio.c index 9c3de88..a92d754 100644 --- a/fs/aio.c +++ b/fs/aio.c
@@ -211,8 +211,7 @@ unsigned nr_events = ctx->max_reqs; BUG_ON(ctx->reqs_active); - cancel_delayed_work(&ctx->wq); - cancel_work_sync(&ctx->wq.work); + cancel_delayed_work_sync(&ctx->wq); aio_free_ring(ctx); mmdrop(ctx->mm); ctx->mm = NULL;