commit | 4c185ce06dca14f5cea192f5a2c981ef50663f2b | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Fri Mar 20 20:17:32 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Apr 11 22:26:45 2015 -0400 |
tree | 1a6d775a568d477089b85690160f11b07a812180 | |
parent | ac15ac0669d5f5ce7fddec0d9cf3721c42d77a2c [diff] |
aio: lift iov_iter_init() into aio_setup_..._rw() the only non-trivial detail is that we do it before rw_verify_area(), so we'd better cap the length ourselves in aio_setup_single_rw() case (for vectored case rw_copy_check_uvector() will do that for us). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>