X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Freaddir.c;h=7723401f8d8b58d43b780ed1d3ff1e5f38303b0d;hb=1f23920dbf1377fa9e4aef4f3d20c34a06a71a35;hp=b318d9b5af2e9c5d24a325ece38acac3027a2ef8;hpb=53c9c5c0e32c69f9df1822e47671c13e3402c82f;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/readdir.c b/fs/readdir.c index b318d9b..7723401 100644 --- a/fs/readdir.c +++ b/fs/readdir.c @@ -102,7 +102,8 @@ efault: return -EFAULT; } -asmlinkage long 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; @@ -187,7 +188,8 @@ efault: return -EFAULT; } -asmlinkage long sys_getdents(unsigned int fd, struct linux_dirent __user * dirent, unsigned int count) +SYSCALL_DEFINE3(getdents, unsigned int, fd, + struct linux_dirent __user *, dirent, unsigned int, count) { struct file * file; struct linux_dirent __user * lastdirent; @@ -268,7 +270,8 @@ efault: return -EFAULT; } -asmlinkage long sys_getdents64(unsigned int fd, struct linux_dirent64 __user * dirent, unsigned int count) +SYSCALL_DEFINE3(getdents64, unsigned int, fd, + struct linux_dirent64 __user *, dirent, unsigned int, count) { struct file * file; struct linux_dirent64 __user * lastdirent;