[Openais] [PATCH]: openais/trunk: Fix saLckOptionCheck

Ryan O'Hara rohara at redhat.com
Fri Jun 26 10:28:34 PDT 2009


I forgot to commit this patch. It is in trunk now, revision 2002.

Ryan

On Fri, Jun 05, 2009 at 11:18:19AM -0500, Ryan O'Hara wrote:
> 
> Here is a patch to fix saLckOptionCheck. We only support
> SA_LCK_OPT_ORPHAN_LOCKS, so the API call simply returns 0x1.
> 
> Ryan
> 

> Index: lib/lck.c
> ===================================================================
> --- lib/lck.c	(revision 1940)
> +++ lib/lck.c	(working copy)
> @@ -274,7 +274,7 @@
>  		goto error_exit;
>  	}
>  
> -	/* TODO */
> +	*lckOptions = SA_LCK_OPT_ORPHAN_LOCKS;
>  
>  	hdb_handle_put (&lckHandleDatabase, lckHandle);
>  

> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais


More information about the Openais mailing list