Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[linux-2.6-block.git] / fs / coredump.c
index 317065e3eb9bb0969ea73fbef46fd8d345ccfe2c..a57a06b80f571b9676d19517e0b644dd1db344d7 100644 (file)
@@ -376,9 +376,7 @@ static int zap_process(struct task_struct *start, int exit_code)
                if (t != current && !(t->flags & PF_POSTCOREDUMP)) {
                        sigaddset(&t->pending.signal, SIGKILL);
                        signal_wake_up(t, 1);
-                       /* The vhost_worker does not particpate in coredumps */
-                       if ((t->flags & (PF_USER_WORKER | PF_IO_WORKER)) != PF_USER_WORKER)
-                               nr++;
+                       nr++;
                }
        }