From: Paolo Bonzini Date: Wed, 20 Mar 2013 05:14:27 +0000 (+1030) Subject: virtio-blk: reorganize virtblk_add_req X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~63^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ee21a52c05b5670ceeaa502c15cf306e379f714;p=pandora-kernel.git virtio-blk: reorganize virtblk_add_req Right now, both virtblk_add_req and virtblk_add_req_wait call virtqueue_add_buf. To prepare for the next patches, abstract the call to virtqueue_add_buf into a new function __virtblk_add_req, and include the waiting logic directly in virtblk_add_req. Signed-off-by: Paolo Bonzini Reviewed-by: Asias He Signed-off-by: Rusty Russell --- Reading git-diff-tree failed