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
- Lines: 27
- Date:
Mon Dec 1 10:34:12 1997
- Orig file:
v2.1.68/linux/net/sunrpc/svcsock.c
- Orig date:
Tue Nov 18 17:22:08 1997
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