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

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)