summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2017-11-22 11:19:57 +0100
committerEric Blake2018-01-10 19:11:23 +0100
commit420a4e955909788263a33d11600839e93480dfd3 (patch)
treed64d038c53c85aa9683b317c66c452fe305d7121 /include/block
parentnbd/server: add additional assert to nbd_export_put (diff)
downloadqemu-420a4e955909788263a33d11600839e93480dfd3.tar.gz
qemu-420a4e955909788263a33d11600839e93480dfd3.tar.xz
qemu-420a4e955909788263a33d11600839e93480dfd3.zip
nbd: rename nbd_option and nbd_opt_reply
Rename nbd_option and nbd_opt_reply to NBDOption and NBDOptionReply to correspond to Qemu coding style and other structures here. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-Id: <20171122101958.17065-5-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/nbd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/block/nbd.h b/include/block/nbd.h
index 113c707a5e..978e443366 100644
--- a/include/block/nbd.h
+++ b/include/block/nbd.h
@@ -28,20 +28,20 @@
/* Handshake phase structs - this struct is passed on the wire */
-struct nbd_option {
+struct NBDOption {
uint64_t magic; /* NBD_OPTS_MAGIC */
uint32_t option; /* NBD_OPT_* */
uint32_t length;
} QEMU_PACKED;
-typedef struct nbd_option nbd_option;
+typedef struct NBDOption NBDOption;
-struct nbd_opt_reply {
+struct NBDOptionReply {
uint64_t magic; /* NBD_REP_MAGIC */
uint32_t option; /* NBD_OPT_* */
uint32_t type; /* NBD_REP_* */
uint32_t length;
} QEMU_PACKED;
-typedef struct nbd_opt_reply nbd_opt_reply;
+typedef struct NBDOptionReply NBDOptionReply;
/* Transmission phase structs
*