diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2018-07-04 14:23:01 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2018-07-07 20:30:09 -0500 |
commit | 0c0eaed14721f8a9db334deb35316411c512059a (patch) | |
tree | 43019b030a269661197839b9d2bfa85e7c2b77f9 /chardev/spice.c | |
parent | 43a473993fd9378bf850dcafa68eb6dee8c300f8 (diff) |
nbd/server: fix nbd_co_send_block_status
Call nbd_co_send_extents() with correct length parameter
(extent.length may be smaller than original length).
Also, switch length parameter type to uint32_t, to correspond with
request->len and similar nbd_co_send_bitmap().
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20180704112302.471456-2-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'chardev/spice.c')
0 files changed, 0 insertions, 0 deletions