diff options
Diffstat (limited to 'fs/readdir.c')
| -rw-r--r-- | fs/readdir.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/readdir.c b/fs/readdir.c index b318d9b5af2e..7723401f8d8b 100644 --- a/fs/readdir.c +++ b/fs/readdir.c | |||
| @@ -102,7 +102,8 @@ efault: | |||
| 102 | return -EFAULT; | 102 | return -EFAULT; |
| 103 | } | 103 | } |
| 104 | 104 | ||
| 105 | asmlinkage long old_readdir(unsigned int fd, struct old_linux_dirent __user * dirent, unsigned int count) | 105 | SYSCALL_DEFINE3(old_readdir, unsigned int, fd, |
| 106 | struct old_linux_dirent __user *, dirent, unsigned int, count) | ||
| 106 | { | 107 | { |
| 107 | int error; | 108 | int error; |
| 108 | struct file * file; | 109 | struct file * file; |
| @@ -187,7 +188,8 @@ efault: | |||
| 187 | return -EFAULT; | 188 | return -EFAULT; |
| 188 | } | 189 | } |
| 189 | 190 | ||
| 190 | asmlinkage long sys_getdents(unsigned int fd, struct linux_dirent __user * dirent, unsigned int count) | 191 | SYSCALL_DEFINE3(getdents, unsigned int, fd, |
| 192 | struct linux_dirent __user *, dirent, unsigned int, count) | ||
| 191 | { | 193 | { |
| 192 | struct file * file; | 194 | struct file * file; |
| 193 | struct linux_dirent __user * lastdirent; | 195 | struct linux_dirent __user * lastdirent; |
| @@ -268,7 +270,8 @@ efault: | |||
| 268 | return -EFAULT; | 270 | return -EFAULT; |
| 269 | } | 271 | } |
| 270 | 272 | ||
| 271 | asmlinkage long sys_getdents64(unsigned int fd, struct linux_dirent64 __user * dirent, unsigned int count) | 273 | SYSCALL_DEFINE3(getdents64, unsigned int, fd, |
| 274 | struct linux_dirent64 __user *, dirent, unsigned int, count) | ||
| 272 | { | 275 | { |
| 273 | struct file * file; | 276 | struct file * file; |
| 274 | struct linux_dirent64 __user * lastdirent; | 277 | struct linux_dirent64 __user * lastdirent; |
