[Openais] [PATCH]: openais/trunk: Fix saLckOptionCheck
Ryan O'Hara
rohara at redhat.com
Fri Jun 5 09:18:19 PDT 2009
Here is a patch to fix saLckOptionCheck. We only support
SA_LCK_OPT_ORPHAN_LOCKS, so the API call simply returns 0x1.
Ryan
-------------- next part --------------
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);
More information about the Openais
mailing list