shithub: riscv

Download patch

ref: b185d2fe5c28aa1ba7bd0469c84a01e791d76f5e
parent: 686cf0b0f389015801220eba102fd55e695e017d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Aug 2 15:04:33 EDT 2014

exportfs: remove getsbuf() nil check, can't happen

--- a/sys/src/cmd/exportfs/exportfs.c
+++ b/sys/src/cmd/exportfs/exportfs.c
@@ -386,9 +386,6 @@
 	 */
 	for(;;) {
 		r = getsbuf();
-		if(r == nil)
-			fatal("Out of service buffers");
-			
 		while((n = localread9pmsg(netfd, r->buf, messagesize, ini)) == 0)
 			;
 		if(n < 0)