block: initial patch for on-stack per-task plugging
[deliverable/linux.git] / kernel / exit.c
index f9a45ebcc7b17c30ac1d39338b75600b6287b10f..6a488ad2dce5bf9a1b6ba24376e1449e603687e4 100644 (file)
@@ -908,6 +908,7 @@ NORET_TYPE void do_exit(long code)
        profile_task_exit(tsk);
 
        WARN_ON(atomic_read(&tsk->fs_excl));
+       WARN_ON(blk_needs_flush_plug(tsk));
 
        if (unlikely(in_interrupt()))
                panic("Aiee, killing interrupt handler!");
This page took 0.049192 seconds and 5 git commands to generate.