patch-2.0.29 linux/fs/nfs/bio.c
Next file: linux/fs/nfs/rpcsock.c
Previous file: linux/drivers/scsi/scsi_ioctl.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Wed Jan 15 01:16:19 1997
- Orig file:
v2.0.28/linux/fs/nfs/bio.c
- Orig date:
Sat Jun 29 12:00:46 1996
diff -u --recursive --new-file v2.0.28/linux/fs/nfs/bio.c linux/fs/nfs/bio.c
@@ -210,6 +210,9 @@
unsigned long address;
int error = -1;
+ /* In case we're called from a page fault we want to */
+ /* make sure we're runnable before we schedule.. */
+ current->state = TASK_RUNNING;
dprintk("NFS: nfs_readpage %08lx\n", page_address(page));
address = page_address(page);
page->count++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov