Skip to content

Commit c719573

Browse files
committed
nbd: Minor style and typo fixes
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>
1 parent 75c7f57 commit c719573

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nbd/server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1972,7 +1972,7 @@ static void nbd_export_request_shutdown(BlockExport *blk_exp)
19721972

19731973
blk_exp_ref(&exp->common);
19741974
/*
1975-
* TODO: Should we expand QMP NbdServerRemoveNode enum to allow a
1975+
* TODO: Should we expand QMP BlockExportRemoveMode enum to allow a
19761976
* close mode that stops advertising the export to new clients but
19771977
* still permits existing clients to run to completion? Because of
19781978
* that possibility, nbd_export_close() can be called more than

qemu-nbd.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,8 @@ int main(int argc, char **argv)
588588
pthread_t client_thread;
589589
const char *fmt = NULL;
590590
Error *local_err = NULL;
591-
BlockdevDetectZeroesOptions detect_zeroes = BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF;
591+
BlockdevDetectZeroesOptions detect_zeroes =
592+
BLOCKDEV_DETECT_ZEROES_OPTIONS_OFF;
592593
QDict *options = NULL;
593594
const char *export_name = NULL; /* defaults to "" later for server mode */
594595
const char *export_description = NULL;

0 commit comments

Comments
 (0)