On 10/02/2013 08:20 AM, Peter Lieven wrote: > if a raw device like an iscsi target or host device is used > the current implementation makes a second call out to get > the block status of bs->file. however, the raw driver already > has called bdrv_get_block_status on bs->file. > > v4: use a flag to detect the raw driver instead of the strncmp > hack.
The v4 designation... > > Signed-off-by: Peter Lieven <p...@kamp.de> > --- ...should appear after the --- separator (useful to reviewers, but doesn't need to be part of the git history). > block.c | 4 ++-- > block/raw_bsd.c | 6 +++++- > include/block/block.h | 3 +++ > 3 files changed, 10 insertions(+), 3 deletions(-) Reviewed-by: Eric Blake <ebl...@redhat.com> -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature