patch-2.1.4 linux/fs/affs/inode.c

Next file: linux/fs/binfmt_aout.c
Previous file: linux/fs/affs/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.3/linux/fs/affs/inode.c linux/fs/affs/inode.c
@@ -614,7 +614,7 @@
 	tmp.f_bavail  = free;
 	tmp.f_files   = 0;
 	tmp.f_ffree   = 0;
-	memcpy_tofs(buf,&tmp,bufsiz);
+	copy_to_user(buf,&tmp,bufsiz);
 }
 
 void

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov