summaryrefslogtreecommitdiffstats
path: root/fs/stat.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-10-09 00:00:47 +0000
commitd6434e1042f3b0a6dfe1b1f615af369486f9b1fa (patch)
treee2be02f33984c48ec019c654051d27964e42c441 /fs/stat.c
parent609d1e803baf519487233b765eb487f9ec227a18 (diff)
Merge with 2.3.19.
Diffstat (limited to 'fs/stat.c')
-rw-r--r--fs/stat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/stat.c b/fs/stat.c
index 146790d67..709477439 100644
--- a/fs/stat.c
+++ b/fs/stat.c
@@ -119,7 +119,7 @@ static int cp_new_stat(struct inode * inode, struct stat * statbuf)
* 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 @@ asmlinkage int sys_stat(char * filename, struct __old_kernel_stat * statbuf)
}
#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 @@ asmlinkage int sys_newstat(char * filename, struct stat * statbuf)
* 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 @@ asmlinkage int sys_lstat(char * filename, struct __old_kernel_stat * statbuf)
#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 @@ asmlinkage int sys_newlstat(char * filename, struct stat * statbuf)
* 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 @@ asmlinkage int sys_fstat(unsigned int fd, struct __old_kernel_stat * statbuf)
#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 @@ asmlinkage int sys_newfstat(unsigned int fd, struct stat * statbuf)
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;