Patchwork [3/3] hmp: show the files ancestors count

login
register
mail settings
Submitter Benoit Canet
Date July 23, 2012, 2:56 p.m.
Message ID <1343055415-24767-4-git-send-email-benoit@irqsave.net>
Download mbox | patch
Permalink /patch/172703/
State New
Headers show

Comments

Benoit Canet - July 23, 2012, 2:56 p.m.
From: BenoƮt Canet <benoit@irqsave.net>

Signed-off-by: Benoit Canet <benoit@irqsave.net>
---
 hmp.c |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/hmp.c b/hmp.c
index 6b72a64..025c59f 100644
--- a/hmp.c
+++ b/hmp.c
@@ -227,6 +227,8 @@  void hmp_info_block(Monitor *mon)
             if (info->value->inserted->has_backing_file) {
                 monitor_printf(mon, " backing_file=");
                 monitor_print_filename(mon, info->value->inserted->backing_file);
+                monitor_printf(mon, " file_ancestors_count=%" PRId64,
+                    info->value->inserted->file_ancestors_count);
             }
             monitor_printf(mon, " ro=%d drv=%s encrypted=%d",
                            info->value->inserted->ro,