]> Git Repo - qemu.git/commit - block/nbd-client.c
block/nbd-client: refactor request send/receive
authorVladimir Sementsov-Ogievskiy <[email protected]>
Tue, 29 Aug 2017 21:48:31 +0000 (16:48 -0500)
committerEric Blake <[email protected]>
Wed, 30 Aug 2017 18:00:38 +0000 (13:00 -0500)
commitf35dff7e13b84d3fffe1103c2c69afd81df5e4f5
tree4e80493d19440931bc359190b6996ead00f5f109
parent07b1b99c78e4b9479922fbe2d05a87ef810e6b7e
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 <[email protected]>
Message-Id: <20170804151440[email protected]>
[eblake: make nbd_co_request a wrapper, rather than merging two
existing functions]
Signed-off-by: Eric Blake <[email protected]>
block/nbd-client.c
This page took 0.023857 seconds and 4 git commands to generate.