diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-11 06:59:07 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-03-21 02:29:39 +0100 |
commit | cd1ea261ac128479833b9f518bf788ee47ada2de (patch) | |
tree | d28edbd48ff88e3576ebde702b9fd9c5a235cf1d | |
parent | aio: use cancel_delayed_work_sync() (diff) | |
download | linux-cd1ea261ac128479833b9f518bf788ee47ada2de.tar.xz linux-cd1ea261ac128479833b9f518bf788ee47ada2de.zip |
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>
-rw-r--r-- | fs/aio.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 |