Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /fs/ncpfs/sock.c

Filename:/fs/ncpfs/sock.c
Lines Added:4
Lines Deleted:1
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.0-ac12  2.4.0-test4  2.4.0-test3 
(Following) 2.5.4-pre2  2.5.4-pre3  2.5.4-pre4  2.5.4-pre5  2.5.4-pre6  2.5.4 

Location
[  2.4.1
  [  fs
    [  ncpfs
       o  sock.c

Patch

diff -u --recursive --new-file v2.4.0/linux/fs/ncpfs/sock.c linux/fs/ncpfs/sock.c
--- v2.4.0/linux/fs/ncpfs/sock.c   Wed Jul 12 10:06:18 2000
+++ linux/fs/ncpfs/sock.c   Sat Jan 20 08:51:51 2001
@@ -456,7 +456,10 @@
 
       spin_lock_irqsave(¤t->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?


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.