patch-2.4.0-test8 linux/fs/autofs4/waitq.c
Next file: linux/fs/bfs/dir.c
Previous file: linux/fs/autofs/waitq.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Sep 1 14:35:16 2000
- Orig file:
v2.4.0-test7/linux/fs/autofs4/waitq.c
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test7/linux/fs/autofs4/waitq.c linux/fs/autofs4/waitq.c
@@ -57,7 +57,7 @@
/** WARNING: this is not safe for writing more than PIPE_BUF bytes! **/
- sigpipe = sigismember(¤t->signal, SIGPIPE);
+ sigpipe = sigismember(¤t->pending.signal, SIGPIPE);
/* Save pointer to user space and point back to kernel space */
fs = get_fs();
@@ -75,7 +75,7 @@
SIGPIPE unless it was already supposed to get one */
if (wr == -EPIPE && !sigpipe) {
spin_lock_irqsave(¤t->sigmask_lock, flags);
- sigdelset(¤t->signal, SIGPIPE);
+ sigdelset(¤t->pending.signal, SIGPIPE);
recalc_sigpending(current);
spin_unlock_irqrestore(¤t->sigmask_lock, flags);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)