[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



于 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]