mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix unlocks in clvmd-corosync.
The DLM unlock returns EUNLOCK in the lksb on success, not 0
This commit is contained in:
parent
fe3a28e2cc
commit
436cd05156
@ -1,6 +1,7 @@
|
||||
Version 2.02.46 -
|
||||
================================
|
||||
Flush memory pool and fix locking in clvmd refresh and backup command.
|
||||
Fix unlocks in clvmd-corosync. Broken in 2.02.45.
|
||||
|
||||
Version 2.02.45 - 3rd March 2009
|
||||
================================
|
||||
|
@ -510,7 +510,7 @@ static int _unlock_resource(const char *resource, int lockid)
|
||||
DEBUGLOG("Unlock returned %d\n", err);
|
||||
return err;
|
||||
}
|
||||
if (lksb.sb_status != 0)
|
||||
if (lksb.sb_status != EUNLOCK)
|
||||
{
|
||||
DEBUGLOG("dlm_ls_unlock_wait returns lksb.sb_status: %d\n", lksb.sb_status);
|
||||
errno = lksb.sb_status;
|
||||
|
Loading…
Reference in New Issue
Block a user