patch-1.3.4 linux/fs/namei.c
Next file: linux/fs/nfs/symlink.c
Previous file: linux/fs/msdos/file.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Jun 26 11:06:52 1995
-  Orig file: 
v1.3.3/linux/fs/namei.c
-  Orig date: 
Fri Jun  2 19:19:06 1995
diff -u --recursive --new-file v1.3.3/linux/fs/namei.c linux/fs/namei.c
@@ -65,7 +65,7 @@
 		error = -ENAMETOOLONG;
 		i = PAGE_SIZE;
 	}
-	c = get_fs_byte(filename++);
+	c = get_user(filename++);
 	if (!c)
 		return -ENOENT;
 	if(!(page = __get_free_page(GFP_KERNEL)))
@@ -73,7 +73,7 @@
 	*result = tmp = (char *) page;
 	while (--i) {
 		*(tmp++) = c;
-		c = get_fs_byte(filename++);
+		c = get_user(filename++);
 		if (!c) {
 			*tmp = '\0';
 			return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this