Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd1ea261 authored by Al Viro's avatar Al Viro
Browse files

aio: don't bother with cancel_delayed_work() in exit_aio()



__put_ioctx() will cover it anyway.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent bf50722a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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