diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-01-29 00:10:51 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-02-04 21:55:36 +0300 |
commit | b4078b5face3c1e79ef6e2dd254af04a470ed2bc (patch) | |
tree | 55692e7ced0d180fd202c2c03f740a68d69d68f3 /lib/hweight.c | |
parent | de1419e42088e99f8f839710c42aec759e45de77 (diff) | |
download | linux-b4078b5face3c1e79ef6e2dd254af04a470ed2bc.tar.xz |
vhost/scsi: Change vhost_scsi_map_to_sgl to accept iov ptr + len
This patch changes vhost_scsi_map_to_sgl() parameters to accept virtio
iovec ptr + len when determing pages_nr.
This is currently done with iov_num_pages() -> PAGE_ALIGN, so allow
the same parameters as well.
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions