Commit 2cece07e authored by Andrew Morton's avatar Andrew Morton Committed by Kai Germaschewski

[PATCH] ncpfs compile fix

Patch from Joel Becker <Joel.Becker@oracle.com>

The task_struct->sig -> task_struct->signal bits.
parent 8d49bf3f
...@@ -757,9 +757,9 @@ static int ncp_do_request(struct ncp_server *server, int size, ...@@ -757,9 +757,9 @@ static int ncp_do_request(struct ncp_server *server, int size,
What if we've blocked it ourselves? What about What if we've blocked it ourselves? What about
alarms? Why, in fact, are we mucking with the alarms? Why, in fact, are we mucking with the
sigmask at all? -- r~ */ 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); 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); mask |= sigmask(SIGQUIT);
} }
siginitsetinv(&current->blocked, mask); siginitsetinv(&current->blocked, mask);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment