patch-2.4.0-test8 linux/fs/autofs/waitq.c
Next file: linux/fs/autofs4/waitq.c
Previous file: linux/fs/affs/super.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Sep 1 14:35:04 2000
- Orig file:
v2.4.0-test7/linux/fs/autofs/waitq.c
- Orig date:
Tue May 11 14:57:04 1999
diff -u --recursive --new-file v2.4.0-test7/linux/fs/autofs/waitq.c linux/fs/autofs/waitq.c
@@ -53,7 +53,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();
@@ -71,7 +71,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)