diff options
Diffstat (limited to 'block/qapi.c')
-rw-r--r-- | block/qapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/qapi.c b/block/qapi.c index 2ce509711d..0c4654e34f 100644 --- a/block/qapi.c +++ b/block/qapi.c @@ -359,7 +359,7 @@ static BlockStats *bdrv_query_stats(const BlockDriverState *bs, if (bs->file) { s->has_parent = true; - s->parent = bdrv_query_stats(bs->file, query_backing); + s->parent = bdrv_query_stats(bs->file->bs, query_backing); } if (query_backing && bs->backing_hd) { |