Re: [libvirt] [PATCH 2/4] storage: Introduce virStoragePoolObjListForEach

2017-11-23 Thread John Ferlan
On 11/23/2017 04:42 AM, Erik Skultety wrote: > On Thu, Nov 16, 2017 at 11:58:03AM -0500, John Ferlan wrote: >> Create an API to walk the pools->objs[] list in order to perform a >> callback function for each element of the objs array that doesn't care >> about whether the action succeeds or fails

Re: [libvirt] [PATCH 2/4] storage: Introduce virStoragePoolObjListForEach

2017-11-23 Thread Erik Skultety
On Thu, Nov 16, 2017 at 11:58:03AM -0500, John Ferlan wrote: > Create an API to walk the pools->objs[] list in order to perform a > callback function for each element of the objs array that doesn't care > about whether the action succeeds or fails as the desire is to run the > code over every eleme

[libvirt] [PATCH 2/4] storage: Introduce virStoragePoolObjListForEach

2017-11-16 Thread John Ferlan
Create an API to walk the pools->objs[] list in order to perform a callback function for each element of the objs array that doesn't care about whether the action succeeds or fails as the desire is to run the code over every element in the array rather than fail as soon as or if one fails. Signed-