patch-2.1.57 linux/fs/fcntl.c
Next file: linux/fs/fifo.c
Previous file: linux/fs/autofs/root.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Sep 20 14:51:55 1997
- Orig file:
v2.1.56/linux/fs/fcntl.c
- Orig date:
Tue Sep 23 16:48:48 1997
diff -u --recursive --new-file v2.1.56/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -179,7 +179,7 @@
(uid ^ p->suid) && (uid ^ p->uid))
continue;
p->signal |= 1 << (SIGIO-1);
- if (p->state == TASK_INTERRUPTIBLE && (p->signal & ~p->blocked))
+ if (p->state == TASK_INTERRUPTIBLE && signal_pending(p))
wake_up_process(p);
}
read_unlock(&tasklist_lock);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov