patch-2.3.1 linux/net/sunrpc/svcsock.c

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sunrpc/svc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -738,7 +738,7 @@
 {
 	struct svc_sock		*svsk;
 	int			len;
-	struct wait_queue	wait = { current, NULL };
+	DECLARE_WAITQUEUE(wait, current);
 
 	dprintk("svc: server %p waiting for data (to = %ld)\n",
 		rqstp, timeout);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)