commit | 89cd35c58bc2e36bfdc23dde67a429b08cf4ae03 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Sep 25 06:51:41 2020 +0200 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Oct 03 00:02:13 2020 -0400 |
tree | 540a413bab63b20e24dba2dece0044277bb778a1 | |
parent | bfdc59701d6d100c99c3b987bcffd1c204e393c8 [diff] |
iov_iter: transparently handle compat iovecs in import_iovec Use in compat_syscall to import either native or the compat iovecs, and remove the now superflous compat_import_iovec. This removes the need for special compat logic in most callers, and the remaining ones can still be simplified by using __import_iovec with a bool compat parameter. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>