From: Al Viro Date: Sun, 11 Mar 2012 05:59:07 +0000 (-0500) Subject: aio: don't bother with cancel_delayed_work() in exit_aio() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cd1ea261ac128479833b9f518bf788ee47ada2de;p=mv-sheeva.git aio: don't bother with cancel_delayed_work() in exit_aio() __put_ioctx() will cover it anyway. Signed-off-by: Al Viro --- diff --git a/fs/aio.c b/fs/aio.c index a92d7547b6f..3174cd969b0 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