Revision 205ef796 block/blkverify.c
b/block/blkverify.c | ||
---|---|---|
116 | 116 |
s->test_file = NULL; |
117 | 117 |
} |
118 | 118 |
|
119 |
static void blkverify_flush(BlockDriverState *bs)
|
|
119 |
static int blkverify_flush(BlockDriverState *bs)
|
|
120 | 120 |
{ |
121 | 121 |
BDRVBlkverifyState *s = bs->opaque; |
122 | 122 |
|
123 | 123 |
/* Only flush test file, the raw file is not important */ |
124 |
bdrv_flush(s->test_file); |
|
124 |
return bdrv_flush(s->test_file);
|
|
125 | 125 |
} |
126 | 126 |
|
127 | 127 |
static int64_t blkverify_getlength(BlockDriverState *bs) |
Also available in: Unified diff