mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-05-28 20:33:44 +00:00
I discovered that our SaAisErrorT is incorrect. I have included a patch
to fix that. The SA_AIS_ERR_BAD_CHECKPOINT code doesn't exist. I replaced it with SA_AIS_ERR_BAD_OPERATION. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@709 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
d330f32d78
commit
cbc8feca89
@ -1251,7 +1251,7 @@ static int recovery_checkpoint_open(SaNameT *checkpointName,
|
||||
* If the checkpoint has been unlinked, it is an invalid name
|
||||
*/
|
||||
if (ckptCheckpoint->unlinked) {
|
||||
error = SA_AIS_ERR_BAD_CHECKPOINT; /* Is this the correct return ? */
|
||||
error = SA_AIS_ERR_BAD_OPERATION; /* Is this the correct return ? */
|
||||
goto error_exit;
|
||||
}
|
||||
|
||||
|
@ -144,8 +144,8 @@ typedef enum {
|
||||
SA_AIS_ERR_MESSAGE_ERROR = 22,
|
||||
SA_AIS_ERR_QUEUE_FULL = 23,
|
||||
SA_AIS_ERR_QUEUE_NOT_AVAILABLE = 24,
|
||||
SA_AIS_ERR_BAD_CHECKPOINT = 25,
|
||||
SA_AIS_ERR_BAD_FLAGS = 26,
|
||||
SA_AIS_ERR_BAD_FLAGS = 25,
|
||||
SA_AIS_ERR_TOO_BIG = 26,
|
||||
SA_AIS_ERR_NO_SECTIONS = 27
|
||||
} SaAisErrorT;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user