projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa1cb3
)
aio: use cancel_delayed_work_sync()
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 11 Mar 2012 05:58:40 +0000
(
00:58
-0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:39 +0000
(21:29 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c
patch
|
blob
|
history
diff --git
a/fs/aio.c
b/fs/aio.c
index
9c3de88
..
a92d754
100644
(file)
--- a/
fs/aio.c
+++ b/
fs/aio.c
@@
-211,8
+211,7
@@
static void __put_ioctx(struct kioctx *ctx)
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;