patch-2.1.69 linux/fs/nfs/nfsroot.c
Next file: linux/fs/nfsd/vfs.c
Previous file: linux/fs/ncpfs/sock.c
Back to the patch index
Back to the overall index
-  Lines: 27
-  Date:
Mon Dec  1 10:34:11 1997
-  Orig file: 
v2.1.68/linux/fs/nfs/nfsroot.c
-  Orig date: 
Thu Jul 17 10:06:07 1997
diff -u --recursive --new-file v2.1.68/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -229,7 +229,7 @@
 root_dev_chg_route(int op, struct device *dev, __u32 dest, __u32 mask, __u32 gw))
 {
 	struct rtentry	route;
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	int		err;
 
 	memset(&route, 0, sizeof(struct rtentry));	/* or else! */
@@ -608,7 +608,7 @@
  */
 static inline int root_send_udp(struct socket *sock, void *buf, int size)
 {
-	u32 oldfs;
+	mm_segment_t oldfs;
 	int result;
 	struct msghdr msg;
 	struct iovec iov;
@@ -632,7 +632,7 @@
  */
 static inline int root_recv_udp(struct socket *sock, void *buf, int size)
 {
-	u32 oldfs;
+	mm_segment_t oldfs;
 	int result;
 	struct msghdr msg;
 	struct iovec iov;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov