patch-2.1.70 linux/drivers/char/ftape/lowlevel/ftape-init.c

Next file: linux/drivers/char/ftape/lowlevel/ftape-io.c
Previous file: linux/drivers/char/ftape/lowlevel/fdc-io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.69/linux/drivers/char/ftape/lowlevel/ftape-init.c linux/drivers/char/ftape/lowlevel/ftape-init.c
@@ -94,7 +94,7 @@
 #ifdef MODULE
 	while (ftape_set_nr_buffers(CONFIG_FT_NR_BUFFERS) < 0) {
 		ftape_sleep(FT_SECOND/20);
-		if (current->signal & ~current->blocked) {
+		if (signal_pending(current)) {
 			(void)ftape_set_nr_buffers(0);
 			TRACE(ft_t_bug,
 			      "Killed by signal while allocating buffers.");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov