summaryrefslogtreecommitdiffstats
path: root/block/nbd-client.h
diff options
context:
space:
mode:
authorEric Blake2016-10-14 20:33:07 +0200
committerPaolo Bonzini2016-11-02 09:28:55 +0100
commited2dd91267a813e4ac5619a2fb53f55c005fcfa6 (patch)
tree1bacc4a9c5fd760451ab5ee028405990c52dad0c /block/nbd-client.h
parentnbd: Rename NbdClientSession to NBDClientSession (diff)
downloadqemu-ed2dd91267a813e4ac5619a2fb53f55c005fcfa6.tar.gz
qemu-ed2dd91267a813e4ac5619a2fb53f55c005fcfa6.tar.xz
qemu-ed2dd91267a813e4ac5619a2fb53f55c005fcfa6.zip
nbd: Rename struct nbd_request and nbd_reply
Our coding convention prefers CamelCase names, and we already have other existing structs with NBDFoo naming. Let's be consistent, before later patches add even more structs. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1476469998-28592-6-git-send-email-eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/nbd-client.h')
-rw-r--r--block/nbd-client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/nbd-client.h b/block/nbd-client.h
index d86dd22e35..51be419405 100644
--- a/block/nbd-client.h
+++ b/block/nbd-client.h
@@ -29,7 +29,7 @@ typedef struct NBDClientSession {
int in_flight;
Coroutine *recv_coroutine[MAX_NBD_REQUESTS];
- struct nbd_reply reply;
+ NBDReply reply;
bool is_unix;
} NBDClientSession;