From d6434e1042f3b0a6dfe1b1f615af369486f9b1fa Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sat, 9 Oct 1999 00:00:47 +0000 Subject: Merge with 2.3.19. --- fs/stat.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'fs/stat.c') 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; -- cgit v1.2.3