• Guido Trotter's avatar
    Fix LockSet._names() to work with the set-lock · d4803c24
    Guido Trotter authored
    If the set-lock is acquired, currently, the _names function will fail on
    a double acquire of a non-recursive lock. This patch fixes the behavior,
    and some lines of code added to the testAcquireSetLock test check that
    this and other functioins behave properly.
    
    Reviewed-by: imsnah
    d4803c24
ganeti.locking_unittest.py 29.1 KB