patch-2.1.69 linux/net/sunrpc/xprt.c

Next file: linux/CREDITS
Previous file: linux/net/sunrpc/svcsock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/net/sunrpc/xprt.c linux/net/sunrpc/xprt.c
@@ -141,7 +141,7 @@
 {
 	struct socket	*sock = xprt->sock;
 	struct msghdr	msg;
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	int		result;
 
 	xprt_pktdump("packet data:",
@@ -205,7 +205,7 @@
 	struct socket	*sock = xprt->sock;
 	struct sockaddr_in sin;
 	struct msghdr	msg;
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	int		result;
 
 #if LINUX_VERSION_CODE >= 0x020100
@@ -528,7 +528,7 @@
 	struct rpc_rqst *rovr;
 	struct sk_buff	*skb;
 	struct iovec	iov[MAX_IOVEC];
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	int		err, repsize, copied;
 
 	dprintk("RPC:      udp_data_ready...\n");


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