patch-2.3.15 linux/fs/stat.c
Next file: linux/fs/super.c
Previous file: linux/fs/select.c
Back to the patch index
Back to the overall index
- Lines: 63
- Date:
Mon Aug 23 11:15:53 1999
- Orig file:
v2.3.14/linux/fs/stat.c
- Orig date:
Mon May 24 22:47:43 1999
diff -u --recursive --new-file v2.3.14/linux/fs/stat.c linux/fs/stat.c
@@ -119,7 +119,7 @@
* For backward compatibility? Maybe this should be moved
* into arch/i386 instead?
*/
-asmlinkage int sys_stat(char * filename, struct __old_kernel_stat * statbuf)
+asmlinkage long sys_stat(char * filename, struct __old_kernel_stat * statbuf)
{
struct dentry * dentry;
int error;
@@ -140,7 +140,7 @@
}
#endif
-asmlinkage int sys_newstat(char * filename, struct stat * statbuf)
+asmlinkage long sys_newstat(char * filename, struct stat * statbuf)
{
struct dentry * dentry;
int error;
@@ -166,7 +166,7 @@
* For backward compatibility? Maybe this should be moved
* into arch/i386 instead?
*/
-asmlinkage int sys_lstat(char * filename, struct __old_kernel_stat * statbuf)
+asmlinkage long sys_lstat(char * filename, struct __old_kernel_stat * statbuf)
{
struct dentry * dentry;
int error;
@@ -188,7 +188,7 @@
#endif
-asmlinkage int sys_newlstat(char * filename, struct stat * statbuf)
+asmlinkage long sys_newlstat(char * filename, struct stat * statbuf)
{
struct dentry * dentry;
int error;
@@ -214,7 +214,7 @@
* For backward compatibility? Maybe this should be moved
* into arch/i386 instead?
*/
-asmlinkage int sys_fstat(unsigned int fd, struct __old_kernel_stat * statbuf)
+asmlinkage long sys_fstat(unsigned int fd, struct __old_kernel_stat * statbuf)
{
struct file * f;
int err = -EBADF;
@@ -235,7 +235,7 @@
#endif
-asmlinkage int sys_newfstat(unsigned int fd, struct stat * statbuf)
+asmlinkage long sys_newfstat(unsigned int fd, struct stat * statbuf)
{
struct file * f;
int err = -EBADF;
@@ -254,7 +254,7 @@
return err;
}
-asmlinkage int sys_readlink(const char * path, char * buf, int bufsiz)
+asmlinkage long sys_readlink(const char * path, char * buf, int bufsiz)
{
struct dentry * dentry;
int error;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)