kcdrwd() is a kernel thread, all signals are ignored.

Signed-off-by: Oleg Nesterov <[EMAIL PROTECTED]>

--- sig/drivers/block/pktcdvd.c~2_pktcdvd       2007-05-21 13:42:39.000000000 
+0400
+++ sig/drivers/block/pktcdvd.c 2007-06-14 20:21:35.000000000 +0400
@@ -1653,9 +1653,6 @@ static int kcdrwd(void *foobar)
                                }
                        }
 
-                       if (signal_pending(current)) {
-                               flush_signals(current);
-                       }
                        if (kthread_should_stop())
                                break;
                }

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to