• Guido Trotter's avatar
    LockSet: improve remove() api · 3f404fc5
    Guido Trotter authored
    Lockset's remove() function used to return a list of locks we failed to remove.
    Rather than doing this we'll return a list of removed locks, so it's more
    similar to how acquire() behaves. This patch also fixes the relevant unit tests.
    
    Reviewed-by: imsnah
    
    3f404fc5
ganeti.locking_unittest.py 22.5 KB