patch-2.1.4 linux/fs/minix/inode.c
Next file: linux/fs/namei.c
Previous file: linux/fs/minix/file.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Oct 13 21:11:19 1996
- Orig file:
v2.1.3/linux/fs/minix/inode.c
- Orig date:
Fri Apr 19 15:07:22 1996
diff -u --recursive --new-file v2.1.3/linux/fs/minix/inode.c linux/fs/minix/inode.c
@@ -316,7 +316,7 @@
tmp.f_files = sb->u.minix_sb.s_ninodes;
tmp.f_ffree = minix_count_free_inodes(sb);
tmp.f_namelen = sb->u.minix_sb.s_namelen;
- 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