summaryrefslogtreecommitdiff
path: root/include/linux/compat.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-09-25 07:51:43 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-10-03 07:02:14 +0300
commit5f764d624a89d4d00d282157077878d4e7c69869 (patch)
tree5ad714ef51e36e78d7e8b4a43e4d9d7fca0c7915 /include/linux/compat.h
parent3523a9d45478984169d7f4416a00c83afc964e2a (diff)
downloadlinux-5f764d624a89d4d00d282157077878d4e7c69869.tar.xz
fs: remove the compat readv/writev syscalls
Now that import_iovec handles compat iovecs, the native readv and writev syscalls can be used for the compat case as well. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 36b5842162c7..07268fc8082b 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -545,10 +545,6 @@ asmlinkage long compat_sys_getdents(unsigned int fd,
/* fs/read_write.c */
asmlinkage long compat_sys_lseek(unsigned int, compat_off_t, unsigned int);
-asmlinkage ssize_t compat_sys_readv(compat_ulong_t fd,
- const struct iovec __user *vec, compat_ulong_t vlen);
-asmlinkage ssize_t compat_sys_writev(compat_ulong_t fd,
- const struct iovec __user *vec, compat_ulong_t vlen);
/* No generic prototype for pread64 and pwrite64 */
asmlinkage ssize_t compat_sys_preadv(compat_ulong_t fd,
const struct iovec __user *vec,