patch-2.1.69 linux/fs/nfsd/vfs.c

Next file: linux/fs/smbfs/sock.c
Previous file: linux/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.68/linux/fs/nfsd/vfs.c linux/fs/nfsd/vfs.c
@@ -360,7 +360,7 @@
 	struct dentry	*dentry;
 	struct inode	*inode;
 	struct file	file;
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	int		err;
 
 	if ((err = nfsd_open(rqstp, fhp, S_IFREG, OPEN_READ, &file)) != 0)
@@ -420,7 +420,7 @@
 	struct file		file;
 	struct dentry		*dentry;
 	struct inode		*inode;
-	unsigned long		oldfs;
+	mm_segment_t		oldfs;
 	int			err;
 
 	if (!cnt)
@@ -668,7 +668,7 @@
 {
 	struct dentry	*dentry;
 	struct inode	*inode;
-	unsigned long	oldfs;
+	mm_segment_t	oldfs;
 	int		err;
 
 	if ((err = fh_verify(rqstp, fhp, S_IFLNK, MAY_READ)) != 0)
@@ -1019,7 +1019,7 @@
 	struct dentry		*dentry;
 	struct inode		*inode;
 	struct super_block	*sb;
-	unsigned long		oldfs;
+	mm_segment_t		oldfs;
 	int			err;
 
 	err = fh_verify(rqstp, fhp, 0, MAY_NOP);

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