[libvirt] [PATCH v2] storage: Do not break the whole vol lookup process in the middle

Eric Blake eblake at redhat.com
Mon Sep 26 21:14:26 UTC 2011

On 09/26/2011 01:15 AM, Osier Yang wrote:
> * src/storage/storage_driver.c: As virStorageVolLookupByPath lookups
> all the pool objs of the drivers, breaking when failing on getting
> the stable path of the pool will just breaks the whole lookup process,
> it can cause the API fails even if the vol exists indeed. It won't get
> any benefit. This patch is to fix it.
> ---
>   src/storage/storage_driver.c |   13 ++++++-------
>   1 files changed, 6 insertions(+), 7 deletions(-)

ACK, you addressed my v1 comments.

Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

More information about the libvir-list mailing list