[Openais] [PATCH]: openais/trunk: Remove unnecessary lock grant callback
Ryan O'Hara
rohara at redhat.com
Sun Jun 21 20:57:47 PDT 2009
When unlocking (cancelling) a pending lock request, and that lock
request was created with saLckResourceLockAsync, we do not need to
send a lock grant callback. This patch removes the callback in this
case.
-------------- next part --------------
Index: lck.c
===================================================================
--- lck.c (revision 1961)
+++ lck.c (working copy)
@@ -1822,7 +1822,7 @@
lck_resourcelock_response_send (resource_lock, SA_AIS_ERR_TIMEOUT);
}
else {
- lck_lockgrant_callback_send (resource_lock, SA_AIS_ERR_NOT_EXIST);
+ /* lck_lockgrant_callback_send (resource_lock, SA_AIS_ERR_NOT_EXIST); */
}
}
}
More information about the Openais
mailing list