patch-2.1.57 linux/drivers/block/acsi_slm.c

Next file: linux/drivers/block/ataflop.c
Previous file: linux/arch/sparc64/kernel/systbls.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.56/linux/drivers/block/acsi_slm.c linux/drivers/block/acsi_slm.c
@@ -634,7 +634,7 @@
 	while( SLMState == PRINTING ||
 		   (SLMState == FILLING && SLMBufOwner != device) ) {
 		interruptible_sleep_on( &slm_wait );
-		if (current->signal & ~current->blocked)
+		if (signal_pending(current))
 			return( -ERESTARTSYS );
 	}
 	if (SLMState == IDLE) {

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