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

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