patch-2.3.16 linux/fs/coda/upcall.c
Next file: linux/fs/dcache.c
Previous file: linux/fs/coda/psdev.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Aug 31 11:30:48 1999
- Orig file:
v2.3.15/linux/fs/coda/upcall.c
- Orig date:
Thu Aug 26 13:05:40 1999
diff -u --recursive --new-file v2.3.15/linux/fs/coda/upcall.c linux/fs/coda/upcall.c
@@ -625,9 +625,9 @@
add_wait_queue(&vmp->uc_sleep, &wait);
for (;;) {
if ( coda_hard == 0 )
- current->state = TASK_INTERRUPTIBLE;
+ set_current_state(TASK_INTERRUPTIBLE);
else
- current->state = TASK_UNINTERRUPTIBLE;
+ set_current_state(TASK_UNINTERRUPTIBLE);
/* got a reply */
if ( vmp->uc_flags & REQ_WRITE )
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)