test-bdrv-drain: don't use BlockJob.blk
commit1b177bbea0b8725e627eb18eb60b8866cd8e1df6
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Thu, 6 May 2021 14:13:56 +0000 (6 17:13 +0300)
committerVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 28 Dec 2021 14:18:56 +0000 (28 15:18 +0100)
tree4f925e6650d4dac056e2572729b9b8a94e783877
parent048954e2f6d4e88383186db2d223f3a42ddb61f7
test-bdrv-drain: don't use BlockJob.blk

We are going to drop BlockJob.blk in further commit. For tests it's
enough to simply pass bs pointer.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Nikita Lapshin <nikita.lapshin@virtuozzo.com>
tests/unit/test-bdrv-drain.c