diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-10-12 12:53:07 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-10-12 16:19:35 -0500 |
commit | 4bfe4478d17679464a2aaa91ed703522ed9af8a0 (patch) | |
tree | a0e8b0eff0ed422ed66e999e850b643a34703187 /nbd/client.c | |
parent | e8d3eb74bf11dff6920b8d0884c28f93e0d0d732 (diff) |
block/nbd-client: assert qiov len once in nbd_co_request
Also improve the assertion: check that qiov is NULL for other commands
than CMD_READ and CMD_WRITE.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171012095319.136610-2-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'nbd/client.c')
0 files changed, 0 insertions, 0 deletions