tcm_vhost: Use iov_num_pages to calculate sgl_count
authorAsias He <asias@redhat.com>
Tue, 22 Jan 2013 03:20:26 +0000 (11:20 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Feb 2013 19:27:41 +0000 (11:27 -0800)
commitf3158f362ca8b77b24c5de86cbec347ab2bb6430
tree7475677803571df7f23d3c1efdc309a82311178f
parent765b34fdc1507add8fd6f1007410e7a375d0f89c
tcm_vhost: Use iov_num_pages to calculate sgl_count

Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.c