Go for supporting the B.03.01 version of the spec, and patch opensaf to
expect that behavior.
Regards
-steve
On Thu, 2009-06-04 at 18:12 +0200, Jan Friesse wrote:
> This is very controversal, and I'm still not sure about correctnes
> of this. Becuase:
> - AIS B.03.01 don't have ERR_BAD_HANDLE as a posibility of returned code
> and can return only SA_AIS_ERR_NOT_EXIST
> - AIS B.01.01 can return ERR_BAD_HANDLE and ERR_NOT_EXISTS
>
> And because SAF Test is written for B.01.01, it expect support for both.
> ---
> trunk/lib/lck.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/trunk/lib/lck.c b/trunk/lib/lck.c
> index 5e31885..5d2dbce 100644
> --- a/trunk/lib/lck.c
> +++ b/trunk/lib/lck.c
> @@ -1039,6 +1039,7 @@ saLckResourceUnlock (
> error = hdb_error_to_sa (hdb_handle_get (&lckLockIdHandleDatabase,
> lockId, (void *)&lckLockIdInstance));
> if (error != SA_AIS_OK) {
> + error = SA_AIS_ERR_NOT_EXIST;
> goto error_exit;
> }
>
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais