patch-2.1.81 linux/drivers/char/ftape/lowlevel/ftape-ctl.c

Next file: linux/drivers/char/ftape/lowlevel/ftape-init.h
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.80/linux/drivers/char/ftape/lowlevel/ftape-ctl.c linux/drivers/char/ftape/lowlevel/ftape-ctl.c
@@ -794,8 +794,8 @@
 			      i, *ft_buffer[i]->address);
 		}
 	}
-	if ((current->signal & _DONT_BLOCK) && 
-	    !(current->signal & _NEVER_BLOCK) &&
+	if (sigtestsetmask(&current->signal, _DONT_BLOCK) && 
+	    !(sigtestsetmask(&current->signal, _NEVER_BLOCK)) &&
 	    ftape_tape_running) {
 		TRACE(ft_t_warn,
 		      "Interrupted by fatal signal and tape still running");

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