diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-25 06:51:43 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-10-03 00:02:14 -0400 |
commit | 5f764d624a89d4d00d282157077878d4e7c69869 (patch) | |
tree | 5ad714ef51e36e78d7e8b4a43e4d9d7fca0c7915 /include/linux | |
parent | 3523a9d45478984169d7f4416a00c83afc964e2a (diff) | |
download | linux-5f764d624a89d4d00d282157077878d4e7c69869.tar.gz linux-5f764d624a89d4d00d282157077878d4e7c69869.tar.bz2 linux-5f764d624a89d4d00d282157077878d4e7c69869.zip |
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')
-rw-r--r-- | include/linux/compat.h | 4 |
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, |