diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-11 06:58:40 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-21 02:29:39 +0100 |
commit | bf50722a3c4a83aae651dc20b708308a4f119eb9 (patch) | |
tree | 08d4724ae2239d2d23040eae730ad7980f4a2299 /fs/aio.c | |
parent | aio: aio_nr_lock is taken only synchronously now (diff) | |
download | linux-bf50722a3c4a83aae651dc20b708308a4f119eb9.tar.xz linux-bf50722a3c4a83aae651dc20b708308a4f119eb9.zip |
aio: use cancel_delayed_work_sync()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/aio.c')
-rw-r--r-- | fs/aio.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |