On Sun, May 16, 2010 at 02:59:57PM +0300, Avi Kivity wrote:
> Not all block format drivers expose an io_flush method (reasonable for
> read-only protocols), so calling io_flush there will immediately segfault.
> 
> Fix by checking for the method's existence before calling it.

Looks good,


Reviewed-by: Christoph Hellwig <h...@lst.de>


Reply via email to