ACK. This is just old code that should have been commented out with
the when I removed the uncessary coroipcc_service_connect. The async
version of ResourceLock doesn't need a new ipc connection.

On Mon, Jun 08, 2009 at 05:25:30PM +0200, Jan Friesse wrote:
> ---
>  trunk/lib/lck.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/trunk/lib/lck.c b/trunk/lib/lck.c
> index 7ee60c1..e1c2410 100644
> --- a/trunk/lib/lck.c
> +++ b/trunk/lib/lck.c
> @@ -899,8 +899,6 @@ saLckResourceLockAsync (
>       struct iovec iov;
>       SaAisErrorT error = SA_AIS_OK;
>  
> -     hdb_handle_t ipc_handle;
> -
>       /* DEBUG */
>       printf ("[DEBUG]: saLckResourceLockAsync\n");
>  
> @@ -1017,8 +1015,6 @@ saLckResourceLockAsync (
>               goto error_put_destroy;
>       }
>  
> -     coroipcc_service_disconnect (ipc_handle);
> -
>       list_init (&lckLockIdInstance->list);
>       list_add_tail (&lckLockIdInstance->list, 
> &lckResourceInstance->lock_id_list);
>  
> -- 
> 1.5.5.6
> 
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to