When closing a resource via saLckResourceClose, we must finalize
(destroy) the lckResourceHandle. Without this we'll won't get
BAD_HANDLE errors if we close a resource and then do an operation on
that resource (ie. saLckResourceLock).
I believe this solves the problem that Jan Friesse was seeing when
running saftest against the lock service.
Ryan
Index: lib/lck.c
===================================================================
--- lib/lck.c (revision 1936)
+++ lib/lck.c (working copy)
@@ -738,7 +738,7 @@
goto error_put;
}
- /* lckResourceInstanceFinalize (lckResourceInstance) */
+ lckResourceInstanceFinalize (lckResourceInstance);
error_put:
hdb_handle_put (&lckResourceHandleDatabase, lckResourceHandle);
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais