patch-2.4.1 linux/fs/ncpfs/sock.c

Next file: linux/fs/nfs/flushd.c
Previous file: linux/fs/ncpfs/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0/linux/fs/ncpfs/sock.c linux/fs/ncpfs/sock.c
@@ -456,7 +456,10 @@
 
 		spin_lock_irqsave(&current->sigmask_lock, flags);
 		old_set = current->blocked;
-		mask = sigmask(SIGKILL) | sigmask(SIGSTOP);
+		if (current->flags & PF_EXITING)
+			mask = 0;
+		else
+			mask = sigmask(SIGKILL);
 		if (server->m.flags & NCP_MOUNT_INTR) {
 			/* FIXME: This doesn't seem right at all.  So, like,
 			   we can't handle SIGINT and get whatever to stop?

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)