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

Next file: linux/net/sunrpc/xprt.c
Previous file: linux/net/netlink/af_netlink.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/net/sunrpc/svcsock.c linux/net/sunrpc/svcsock.c
@@ -226,7 +226,7 @@
 static int
 svc_sendto(struct svc_rqst *rqstp, struct iovec *iov, int nr)
 {
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	struct socket	*sock = rqstp->rq_sock->sk_sock;
 	struct msghdr	msg;
 	int		i, buflen, len;
@@ -268,7 +268,7 @@
 static int
 svc_recv_available(struct svc_sock *svsk)
 {
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	struct socket	*sock = svsk->sk_sock;
 	int		avail, err;
 
@@ -285,7 +285,7 @@
 static int
 svc_recvfrom(struct svc_rqst *rqstp, struct iovec *iov, int nr, int buflen)
 {
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	struct msghdr	msg;
 	struct socket	*sock;
 	int		len;

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