patch-2.4.20 linux-2.4.20/fs/nfs/pagelist.c
Next file: linux-2.4.20/fs/nfs/proc.c
Previous file: linux-2.4.20/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Nov 28 15:53:15 2002
- Orig file:
linux-2.4.19/fs/nfs/pagelist.c
- Orig date:
Fri Aug 2 17:39:45 2002
diff -urN linux-2.4.19/fs/nfs/pagelist.c linux-2.4.20/fs/nfs/pagelist.c
@@ -96,8 +96,7 @@
continue;
if (signalled() && (server->flags & NFS_MOUNT_INTR))
return ERR_PTR(-ERESTARTSYS);
- current->policy |= SCHED_YIELD;
- schedule();
+ yield();
}
/* Initialize the request struct. Initially, we assume a
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)