]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] ncpfs compile fix
authorAndrew Morton <akpm@digeo.com>
Mon, 10 Feb 2003 08:29:49 +0000 (00:29 -0800)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Mon, 10 Feb 2003 08:29:49 +0000 (00:29 -0800)
Patch from Joel Becker <Joel.Becker@oracle.com>

The task_struct->sig -> task_struct->signal bits.

fs/ncpfs/sock.c

index f01c538eb2822feb5984cc6a8ce2f1bf66af42e3..a29294f3987c58616608d568f3720a78d4e772d5 100644 (file)
@@ -757,9 +757,9 @@ static int ncp_do_request(struct ncp_server *server, int size,
                           What if we've blocked it ourselves?  What about
                           alarms?  Why, in fact, are we mucking with the
                           sigmask at all? -- r~ */
-                       if (current->sig->action[SIGINT - 1].sa.sa_handler == SIG_DFL)
+                       if (current->sighand->action[SIGINT - 1].sa.sa_handler == SIG_DFL)
                                mask |= sigmask(SIGINT);
-                       if (current->sig->action[SIGQUIT - 1].sa.sa_handler == SIG_DFL)
+                       if (current->sighand->action[SIGQUIT - 1].sa.sa_handler == SIG_DFL)
                                mask |= sigmask(SIGQUIT);
                }
                siginitsetinv(&current->blocked, mask);