]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
nbd: Minor style and typo fixes
authorEric Blake <eblake@redhat.com>
Thu, 1 Aug 2024 21:49:20 +0000 (16:49 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 8 Aug 2024 15:18:22 +0000 (10:18 -0500)
Touch up a comment with the wrong type name, and an over-long line,
both noticed while working on upcoming patches.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20240807174943.771624-10-eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
nbd/server.c
qemu-nbd.c

index 892797bb11156b382660d055d0e9407cce98d60f..ecd9366ba648828fcfedb1c0346c36f65e8d5370 100644 (file)
@@ -1972,7 +1972,7 @@ static void nbd_export_request_shutdown(BlockExport *blk_exp)
 
     blk_exp_ref(&exp->common);
     /*
-     * TODO: Should we expand QMP NbdServerRemoveNode enum to allow a
+     * TODO: Should we expand QMP BlockExportRemoveMode enum to allow a
      * close mode that stops advertising the export to new clients but
      * still permits existing clients to run to completion? Because of
      * that possibility, nbd_export_close() can be called more than
index d7b3ccab21c87336620937d282c869e1506f1d67..8e104ef22c3bf15ed7bd481d4ff6cd1fb105b31d 100644 (file)
@@ -588,7 +588,8 @@ int main(int argc, char **argv)
     pthread_t client_thread;
     const char *fmt = NULL;
     Error *local_err = NULL;
-    BlockdevDetectZeroesOptions detect_zeroes = BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF;
+    BlockdevDetectZeroesOptions detect_zeroes =
+        BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF;
     QDict *options = NULL;
     const char *export_name = NULL; /* defaults to "" later for server mode */
     const char *export_description = NULL;