Просмотр исходного кода

defect 630
if a checkpoint is unlinked then opened it should return
SA_AIS_ERR_NOT_EXIST

(Logical change 1.211)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@678 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake 20 лет назад
Родитель
Сommit
e8de042ab3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      exec/ckpt.c

+ 1 - 1
exec/ckpt.c

@@ -1100,7 +1100,7 @@ static int message_handler_req_exec_ckpt_checkpointopen (void *message, struct i
 	 * If the checkpoint has been unlinked, it is an invalid name
 	 * If the checkpoint has been unlinked, it is an invalid name
 	 */
 	 */
 	if (ckptCheckpoint->unlinked) {
 	if (ckptCheckpoint->unlinked) {
-		error = SA_AIS_ERR_INVALID_PARAM; /* Is this the correct return ? */
+		error = SA_AIS_ERR_NOT_EXIST; /* Is this the correct return ? */
 		goto error_exit;
 		goto error_exit;
 	}
 	}