patch-2.4.0-test8 linux/drivers/char/ftape/lowlevel/ftape-ctl.c

Next file: linux/drivers/char/ftape/lowlevel/ftape-rw.c
Previous file: linux/drivers/char/drm/tdfx_drv.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/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 (sigtestsetmask(&current->signal, _DONT_BLOCK) && 
-	    !(sigtestsetmask(&current->signal, _NEVER_BLOCK)) &&
+	if (sigtestsetmask(&current->pending.signal, _DONT_BLOCK) && 
+	    !(sigtestsetmask(&current->pending.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 (who was at: slshen@lbl.gov)