patch-2.1.4 linux/fs/ext2/super.c
Next file: linux/fs/fat/dir.c
Previous file: linux/fs/ext2/ioctl.c
Back to the patch index
Back to the overall index
- Lines: 7
- Date:
Sun Oct 13 21:11:16 1996
- Orig file:
v2.1.3/linux/fs/ext2/super.c
- Orig date:
Mon Sep 23 08:38:18 1996
diff -u --recursive --new-file v2.1.3/linux/fs/ext2/super.c linux/fs/ext2/super.c
@@ -736,5 +736,5 @@
tmp.f_files = sb->u.ext2_sb.s_es->s_inodes_count;
tmp.f_ffree = ext2_count_free_inodes (sb);
tmp.f_namelen = EXT2_NAME_LEN;
- memcpy_tofs(buf, &tmp, bufsiz);
+ copy_to_user(buf, &tmp, bufsiz);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov