Skip to content

Commit

Permalink
aio: don't bother with cancel_delayed_work() in exit_aio()
Browse files Browse the repository at this point in the history
__put_ioctx() will cover it anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Mar 21, 2012
1 parent bf50722 commit cd1ea26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd1ea26

Please sign in to comment.