]> Git Repo - qemu.git/commitdiff
parallels: Assign bs->file->bs to file in parallels_co_get_block_status
authorFam Zheng <[email protected]>
Tue, 26 Jan 2016 03:58:53 +0000 (11:58 +0800)
committerMax Reitz <[email protected]>
Tue, 2 Feb 2016 16:50:47 +0000 (17:50 +0100)
Reviewed-by: Eric Blake <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Fam Zheng <[email protected]>
Message-id: 1453780743[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/parallels.c

index e2de308efaaffbf8440be5a1f806949f4c03c3a0..645521d783e01e259bcad3ae30e82eac6b0c8f84 100644 (file)
@@ -274,6 +274,7 @@ static int64_t coroutine_fn parallels_co_get_block_status(BlockDriverState *bs,
         return 0;
     }
 
+    *file = bs->file->bs;
     return (offset << BDRV_SECTOR_BITS) |
         BDRV_BLOCK_DATA | BDRV_BLOCK_OFFSET_VALID;
 }
This page took 0.028585 seconds and 4 git commands to generate.