]> Git Repo - qemu.git/commit - nbd/client.c
nbd/client: Refactor nbd_opt_go() to support NBD_OPT_INFO
authorEric Blake <[email protected]>
Thu, 17 Jan 2019 19:36:53 +0000 (13:36 -0600)
committerEric Blake <[email protected]>
Mon, 21 Jan 2019 21:49:52 +0000 (15:49 -0600)
commit138796d0f545ad4b6c74ad2cbe5f6e08c454a0b9
tree36c408627b539ae5ddf8d62b3c0d66b2298319aa
parentb3c9d33bc4e7c2ab2828b16ebc96f0414b0f1acf
nbd/client: Refactor nbd_opt_go() to support NBD_OPT_INFO

Rename the function to nbd_opt_info_or_go() with an added parameter
and slight changes to comments and trace messages, in order to
reuse the function for NBD_OPT_INFO.

Signed-off-by: Eric Blake <[email protected]>
Message-Id: <20190117193658[email protected]>
Reviewed-by: Vladimir Sementsov-Ogievskiy <[email protected]>
nbd/client.c
nbd/trace-events
This page took 0.025509 seconds and 4 git commands to generate.