summaryrefslogtreecommitdiffstats
path: root/block/nbd.c
diff options
context:
space:
mode:
authorEric Blake2016-10-14 20:33:06 +0200
committerPaolo Bonzini2016-11-02 09:28:55 +0100
commit10676b81a9a69e9660fc203e3fe7d61a80ef1089 (patch)
treea45d599ee24758461d4bab9a4afc37e393749fb6 /block/nbd.c
parentnbd: Rename NBDRequest to NBDRequestData (diff)
downloadqemu-10676b81a9a69e9660fc203e3fe7d61a80ef1089.tar.gz
qemu-10676b81a9a69e9660fc203e3fe7d61a80ef1089.tar.xz
qemu-10676b81a9a69e9660fc203e3fe7d61a80ef1089.zip
nbd: Rename NbdClientSession to NBDClientSession
It's better to use consistent capitalization of the namespace used for NBD functions; we have more instances of NBD* than Nbd*. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1476469998-28592-5-git-send-email-eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'block/nbd.c')
-rw-r--r--block/nbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/block/nbd.c b/block/nbd.c
index 6e837f80c9..b281484648 100644
--- a/block/nbd.c
+++ b/block/nbd.c
@@ -44,7 +44,7 @@
#define EN_OPTSTR ":exportname="
typedef struct BDRVNBDState {
- NbdClientSession client;
+ NBDClientSession client;
/* For nbd_refresh_filename() */
SocketAddress *saddr;
@@ -294,7 +294,7 @@ done:
return saddr;
}
-NbdClientSession *nbd_get_client_session(BlockDriverState *bs)
+NBDClientSession *nbd_get_client_session(BlockDriverState *bs)
{
BDRVNBDState *s = bs->opaque;
return &s->client;