summaryrefslogtreecommitdiff
path: root/fs/readdir.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:34 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-18 10:35:40 -0800
commitbb5e15adc590a9c9db32b059afa37362c198adca (patch)
tree2b3b93f5591fa41e11bf1ef56f8a2e42172b53fd /fs/readdir.c
parentcb284259a157426704b621a0b1a6ced6e85d93ce (diff)
System call wrappers part 32
commit d4e82042c4cfa87a7d51710b71f568fe80132551 upstream. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/readdir.c')
-rw-r--r--fs/readdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/readdir.c b/fs/readdir.c
index d3143e92e12a..d68ea47250f4 100644
--- a/fs/readdir.c
+++ b/fs/readdir.c
@@ -102,7 +102,8 @@ efault:
return -EFAULT;
}
-asmlinkage long sys_old_readdir(unsigned int fd, struct old_linux_dirent __user * dirent, unsigned int count)
+SYSCALL_DEFINE3(old_readdir, unsigned int, fd,
+ struct old_linux_dirent __user *, dirent, unsigned int, count)
{
int error;
struct file * file;