diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2015-10-09 01:00:26 +0300 |
|---|---|---|
| committer | Mike Marshall <hubcap@omnibond.com> | 2015-11-13 19:21:37 +0300 |
| commit | 3c2fcfcb6858585e9df6c7832464ab28bfb5bb6b (patch) | |
| tree | 1c35be5e310aab0502a29141ed00315173bf238b /tools/perf/scripts | |
| parent | a5c126a52269ce304b6da95e980e595668bf467d (diff) | |
| download | linux-3c2fcfcb6858585e9df6c7832464ab28bfb5bb6b.tar.xz | |
orangefs: make wait_for_direct_io() take iov_iter
incidentally, insane or compromised server returning *more* than
requested on read should not oops the kernel - initialize the
iov_iter for read according to the iovec we've got. That's why
pvfs_bufmap_copy_to_iovec() needed a separate size argument - we
shouldn't abuse iov_iter_count(iter) for passing that.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
