aio: don't bother with cancel_delayed_work() in exit_aio()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 11 Mar 2012 05:59:07 +0000 (00:59 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 21 Mar 2012 01:29:39 +0000 (21:29 -0400)
__put_ioctx() will cover it anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/aio.c

index a92d754..3174cd9 100644 (file)
--- 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