tcm_vhost: Introduce iov_num_pages
authorAsias He <asias@redhat.com>
Tue, 22 Jan 2013 03:20:25 +0000 (11:20 +0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Feb 2013 19:27:40 +0000 (11:27 -0800)
commit765b34fdc1507add8fd6f1007410e7a375d0f89c
treeba101d2224da2b56121e39b6fde67b5979ec2d11
parent9d6064a347a8e15451cbdf6286542d402c9da24c
tcm_vhost: Introduce iov_num_pages

Add a helper to calculate the number of pages needed for a iov entry.

(nab: Drop unnecessary inline)

Signed-off-by: Asias He <asias@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/vhost/tcm_vhost.c
This page took 0.025549 seconds and 5 git commands to generate.