]>
Commit | Line | Data |
---|---|---|
6fb04df7 | 1 | From e698a23ad095fcaf0d72734a480d5bc0202a6f75 Mon Sep 17 00:00:00 2001 |
b07d35a5 TL |
2 | From: Thomas Lamprecht <t.lamprecht@proxmox.com> |
3 | Date: Wed, 6 Apr 2016 14:15:58 +0200 | |
6fb04df7 | 4 | Subject: [PATCH 47/55] zeroinit: bdrv_get_block_status got a new param |
b07d35a5 TL |
5 | |
6 | see: 67a0fd2a9bca204d2b39f910a97c7137636a0715 | |
7 | --- | |
8 | block/zeroinit.c | 5 +++-- | |
9 | 1 file changed, 3 insertions(+), 2 deletions(-) | |
10 | ||
11 | diff --git a/block/zeroinit.c b/block/zeroinit.c | |
12 | index eb77657..ad52847 100644 | |
13 | --- a/block/zeroinit.c | |
14 | +++ b/block/zeroinit.c | |
15 | @@ -160,9 +160,10 @@ static int zeroinit_has_zero_init(BlockDriverState *bs) | |
16 | ||
17 | static int64_t coroutine_fn zeroinit_co_get_block_status(BlockDriverState *bs, | |
18 | int64_t sector_num, | |
19 | - int nb_sectors, int *pnum) | |
20 | + int nb_sectors, int *pnum, | |
21 | + BlockDriverState **file) | |
22 | { | |
23 | - return bdrv_get_block_status(bs->file->bs, sector_num, nb_sectors, pnum); | |
24 | + return bdrv_get_block_status(bs->file->bs, sector_num, nb_sectors, pnum, file); | |
25 | } | |
26 | ||
27 | static coroutine_fn BlockAIOCB *zeroinit_aio_discard(BlockDriverState *bs, | |
28 | -- | |
29 | 2.1.4 | |
30 |