patch-2.1.4 linux/fs/nfs/inode.c
Next file: linux/fs/nfs/proc.c
Previous file: linux/fs/ncpfs/ncplib_kernel.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/nfs/inode.c
- Orig date:
Thu Apr 25 15:09:39 1996
diff -u --recursive --new-file v2.1.3/linux/fs/nfs/inode.c linux/fs/nfs/inode.c
@@ -226,7 +226,7 @@
tmp.f_files = 0;
tmp.f_ffree = 0;
tmp.f_namelen = NAME_MAX;
- 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