diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-04 06:19:32 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-04-12 04:29:43 +0200 |
commit | 1c65d98672e09a0cb28e1e9ae49e9d96355f522f (patch) | |
tree | fee8829694480137eacc54987c49d8c845a084ef /fs/aio.c | |
parent | infinibad: weird APIs switched to ->write_iter() (diff) | |
download | linux-1c65d98672e09a0cb28e1e9ae49e9d96355f522f.tar.xz linux-1c65d98672e09a0cb28e1e9ae49e9d96355f522f.zip |
pcm: another weird API abuse
readv() and writev() should _not_ ignore all but the first ->iov_len,
among other things. Really weird abuse of those syscalls - it
expects a vector element per channel, with identical lengths (it
actually assumes them to be identical - no checking is done).
readv() and writev() are really bad match for that. Unfortunately,
userland API is userland API and we can't do anything about them.
Converted to ->read_iter/->write_iter. Please, _please_ don't do
anything of that kind when designing new interfaces.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/aio.c')
0 files changed, 0 insertions, 0 deletions