diff options
Diffstat (limited to 'fs/aio.c')
-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) | |||
390 | aio_cancel_all(ctx); | 390 | aio_cancel_all(ctx); |
391 | 391 | ||
392 | wait_for_all_aios(ctx); | 392 | wait_for_all_aios(ctx); |
393 | /* | ||
394 | * Ensure we don't leave the ctx on the aio_wq | ||
395 | */ | ||
396 | cancel_work_sync(&ctx->wq.work); | ||
397 | 393 | ||
398 | if (1 != atomic_read(&ctx->users)) | 394 | if (1 != atomic_read(&ctx->users)) |
399 | printk(KERN_DEBUG | 395 | printk(KERN_DEBUG |