diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2017-08-29 16:48:31 -0500 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2017-08-30 13:00:38 -0500 |
commit | f35dff7e13b84d3fffe1103c2c69afd81df5e4f5 (patch) | |
tree | 4e80493d19440931bc359190b6996ead00f5f109 /balloon.c | |
parent | 07b1b99c78e4b9479922fbe2d05a87ef810e6b7e (diff) |
block/nbd-client: refactor request send/receive
Add nbd_co_request, to remove code duplications in
nbd_client_co_{pwrite,pread,...} functions. Also this is
needed for further refactoring.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20170804151440.320927-8-vsementsov@virtuozzo.com>
[eblake: make nbd_co_request a wrapper, rather than merging two
existing functions]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'balloon.c')
0 files changed, 0 insertions, 0 deletions