Skip to content

Commit

Permalink
Revert "hmp: fix crash in 'info block -n -v'"
Browse files Browse the repository at this point in the history
This reverts commit 638b836.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
  • Loading branch information
stefanhaRH authored and kevmw committed Apr 28, 2015
1 parent dc881b4 commit 9419874
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions hmp.c
Expand Up @@ -391,8 +391,7 @@ static void print_block_info(Monitor *mon, BlockInfo *info,
inserted->iops_size);
}

/* TODO: inserted->image should never be null */
if (verbose && inserted->image) {
if (verbose) {
monitor_printf(mon, "\nImages:\n");
image_info = inserted->image;
while (1) {
Expand Down

0 comments on commit 9419874

Please sign in to comment.