patch-2.3.16 linux/fs/select.c
Next file: linux/fs/smbfs/inode.c
Previous file: linux/fs/romfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 31 11:30:48 1999
- Orig file:
v2.3.15/linux/fs/select.c
- Orig date:
Thu Aug 26 13:05:40 1999
diff -u --recursive --new-file v2.3.15/linux/fs/select.c linux/fs/select.c
@@ -174,7 +174,7 @@
n = retval;
retval = 0;
for (;;) {
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
for (i = 0 ; i < n; i++) {
unsigned long bit = BIT(i);
unsigned long mask;
@@ -337,7 +337,7 @@
unsigned int j;
struct pollfd * fdpnt;
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
for (fdpnt = fds, j = 0; j < nfds; j++, fdpnt++) {
int fd;
unsigned int mask;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)