diff options
Diffstat (limited to 'fs/readdir.c')
-rw-r--r-- | fs/readdir.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fs/readdir.c b/fs/readdir.c index 8b4c2a0051a6..cf6a0e39819a 100644 --- a/fs/readdir.c +++ b/fs/readdir.c | |||
@@ -187,7 +187,8 @@ efault: | |||
187 | return -EFAULT; | 187 | return -EFAULT; |
188 | } | 188 | } |
189 | 189 | ||
190 | asmlinkage long sys_getdents(unsigned int fd, struct linux_dirent __user * dirent, unsigned int count) | 190 | SYSCALL_DEFINE3(getdents, unsigned int, fd, |
191 | struct linux_dirent __user *, dirent, unsigned int, count) | ||
191 | { | 192 | { |
192 | struct file * file; | 193 | struct file * file; |
193 | struct linux_dirent __user * lastdirent; | 194 | struct linux_dirent __user * lastdirent; |
@@ -268,7 +269,8 @@ efault: | |||
268 | return -EFAULT; | 269 | return -EFAULT; |
269 | } | 270 | } |
270 | 271 | ||
271 | asmlinkage long sys_getdents64(unsigned int fd, struct linux_dirent64 __user * dirent, unsigned int count) | 272 | SYSCALL_DEFINE3(getdents64, unsigned int, fd, |
273 | struct linux_dirent64 __user *, dirent, unsigned int, count) | ||
272 | { | 274 | { |
273 | struct file * file; | 275 | struct file * file; |
274 | struct linux_dirent64 __user * lastdirent; | 276 | struct linux_dirent64 __user * lastdirent; |