[Openais] [PATCH]: openais/trunk: Skip callbacks if resource handle does not exist

Ryan O'Hara rohara at redhat.com
Mon Jun 29 12:20:30 PDT 2009


Committed to trunk, revision 2011.

On Mon, Jun 29, 2009 at 12:08:21PM -0700, Steven Dake wrote:
> looks good for merge
> 
> regards
> -steve
> On Mon, 2009-06-29 at 11:20 -0500, Ryan O'Hara wrote:
> > Here is a patch that effectively cancels any pending callbacks if the
> > resource handle no longer exists.
> > 
> > In saLckDispatch, we check that the resource handle associated with
> > the callback exists in the handle database. If not, we skip it. This
> > requires that we pass the resource handle in the callback request,
> > which is not much of an issue. It also requires that we pass the have
> > the resource handle available in any call that generates a callback.
> > 
> > Ryan
> > 
> > _______________________________________________
> > Openais mailing list
> > Openais at lists.linux-foundation.org
> > https://lists.linux-foundation.org/mailman/listinfo/openais


More information about the Openais mailing list