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

Re: [libvirt] [PATCH] util: fix index when building lock owners array



On 11/14/2012 12:18 PM, Eric Blake wrote:
> On 11/14/2012 10:12 AM, Laine Stump wrote:
>> The "restart" function for locks allocates a new array according to
>> and pre-sets its length, then reads the owner pids from a JSON
>> document in a loop. Rather than adding each owner at a different
>> index, though, it repeatedly overwrites the last element of the array
>> with all the owners.
>> ---
>>  src/util/virlockspace.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> ACK.
>
>

Pushed. Thanks!


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