Revision 081501da
b/block.c | ||
---|---|---|
1002 | 1002 |
|
1003 | 1003 |
void bdrv_flush(BlockDriverState *bs) |
1004 | 1004 |
{ |
1005 |
if (!bs->drv) |
|
1006 |
return; |
|
1005 | 1007 |
if (bs->drv->bdrv_flush) |
1006 | 1008 |
bs->drv->bdrv_flush(bs); |
1007 | 1009 |
if (bs->backing_hd) |
Also available in: Unified diff