patch-2.1.36 linux/fs/nfsd/nfssvc.c

Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/nfsd/nfsctl.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/fs/nfsd/nfssvc.c linux/fs/nfsd/nfssvc.c
@@ -116,7 +116,7 @@
 	/*
 	 * The main request loop
 	 */
-	do {
+	for (;;) {
 		/*
 		 * Find a socket with data available and call its
 		 * recvfrom routine.
@@ -150,7 +150,7 @@
 
 		/* Unlock export hash tables */
 		exp_unlock();
-	} while (err >= 0);
+	}
 
 	if (err != -EINTR) {
 		printk(KERN_WARNING "nfsd: terminating on error %d\n", -err);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov