[libvirt] [PATCH v2] storage: Do not break the whole vol lookup process in the middle
Osier Yang
jyang at redhat.com
Tue Sep 27 00:39:44 UTC 2011
于 2011年09月27日 05:14, Eric Blake 写道:
> 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.
>
Thanks, pushed.
Osier
More information about the libvir-list
mailing list