summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-03-11 00:59:07 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2012-03-20 21:29:39 -0400
commitcd1ea261ac128479833b9f518bf788ee47ada2de (patch)
treed28edbd48ff88e3576ebde702b9fd9c5a235cf1d /fs
parentbf50722a3c4a83aae651dc20b708308a4f119eb9 (diff)
downloadlinux-cd1ea261ac128479833b9f518bf788ee47ada2de.tar.bz2
aio: don't bother with cancel_delayed_work() in exit_aio()
__put_ioctx() will cover it anyway. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r--fs/aio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/aio.c b/fs/aio.c
index a92d7547b6f6..3174cd969b01 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -390,10 +390,6 @@ void exit_aio(struct mm_struct *mm)
aio_cancel_all(ctx);
wait_for_all_aios(ctx);
- /*
- * Ensure we don't leave the ctx on the aio_wq
- */
- cancel_work_sync(&ctx->wq.work);
if (1 != atomic_read(&ctx->users))
printk(KERN_DEBUG