diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-20 07:04:57 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-12-22 22:58:37 -0500 |
| commit | c00d2c7e89880036f288a764599b2b8b87c0a364 (patch) | |
| tree | 4f8690123b657080bd6c682e5f326b1b118ed630 /kernel | |
| parent | e93b1cc8a8965da137ffea0b88e5f62fa1d2a9e6 (diff) | |
move aio compat to fs/aio.c
... and fix the minor buglet in compat io_submit() - native one
kills ioctx as cleanup when put_user() fails. Get rid of
bogus compat_... in !CONFIG_AIO case, while we are at it - they
should simply fail with ENOSYS, same as for native counterparts.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sys_ni.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index 635482e60ca3..8acef8576ce9 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c | |||
| @@ -150,6 +150,9 @@ cond_syscall(sys_io_destroy); | |||
| 150 | cond_syscall(sys_io_submit); | 150 | cond_syscall(sys_io_submit); |
| 151 | cond_syscall(sys_io_cancel); | 151 | cond_syscall(sys_io_cancel); |
| 152 | cond_syscall(sys_io_getevents); | 152 | cond_syscall(sys_io_getevents); |
| 153 | cond_syscall(compat_sys_io_setup); | ||
| 154 | cond_syscall(compat_sys_io_submit); | ||
| 155 | cond_syscall(compat_sys_io_getevents); | ||
| 153 | cond_syscall(sys_sysfs); | 156 | cond_syscall(sys_sysfs); |
| 154 | cond_syscall(sys_syslog); | 157 | cond_syscall(sys_syslog); |
| 155 | cond_syscall(sys_process_vm_readv); | 158 | cond_syscall(sys_process_vm_readv); |
