021048e sanlock: initial pid_dead check in acquire

Authored and Committed by teigland 12 years ago
1 file changed. 6 lines added. 0 lines removed.
    sanlock: initial pid_dead check in acquire
    
    If cmd_acquire has been queued for a while waiting for
    the thread pool, the pid may already be dead by the time
    cmd_acquire begins.  In that case don't go to the trouble
    of acquiring leases before checking if the pid is dead.
    
        
file modified
+6 -0