Re: [Qemu-devel] [PATCH 42/55] block: Clean up bdrv_flush_all()
Looks good, Reviewed-by: Christoph Hellwig h...@lst.de
[Qemu-devel] [PATCH 42/55] block: Clean up bdrv_flush_all()
Change (!bdrv_is_removable(bs) || bdrv_is_inserted(bs)) to just bdrv_is_inserted(). Rationale: The value of bdrv_is_removable(bs) matters only when bdrv_is_inserted(bs) is false. bdrv_is_inserted(bs) is true when bs is open (bs-drv != NULL) and not an empty host drive (CD-ROM or