patch-2.1.4 linux/fs/ext/inode.c
Next file: linux/fs/ext2/file.c
Previous file: linux/fs/ext/file.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Oct 13 21:11:16 1996
-  Orig file: 
v2.1.3/linux/fs/ext/inode.c
-  Orig date: 
Mon Jan 15 07:59:09 1996
diff -u --recursive --new-file v2.1.3/linux/fs/ext/inode.c linux/fs/ext/inode.c
@@ -166,7 +166,7 @@
 	tmp.f_files = sb->u.ext_sb.s_ninodes;
 	tmp.f_ffree = ext_count_free_inodes(sb);
 	tmp.f_namelen = EXT_NAME_LEN;
-	memcpy_tofs(buf, &tmp, bufsiz);
+	copy_to_user(buf, &tmp, bufsiz);
 }
 
 #define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)])
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov