patch-2.1.4 linux/fs/stat.c
Next file: linux/fs/super.c
Previous file: linux/fs/smbfs/sock.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Oct 13 21:11:20 1996
- Orig file:
v2.1.3/linux/fs/stat.c
- Orig date:
Sat Oct 5 16:58:35 1996
diff -u --recursive --new-file v2.1.3/linux/fs/stat.c linux/fs/stat.c
@@ -39,7 +39,7 @@
tmp.st_atime = inode->i_atime;
tmp.st_mtime = inode->i_mtime;
tmp.st_ctime = inode->i_ctime;
- memcpy_tofs(statbuf,&tmp,sizeof(tmp));
+ copy_to_user(statbuf,&tmp,sizeof(tmp));
}
#endif
@@ -99,7 +99,7 @@
tmp.st_blocks = inode->i_blocks;
tmp.st_blksize = inode->i_blksize;
}
- memcpy_tofs(statbuf,&tmp,sizeof(tmp));
+ copy_to_user(statbuf,&tmp,sizeof(tmp));
}
#ifndef __alpha__
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov