[Openais] [PATCH]: openais/trunk: Use list_splice when grant pending PR locks

Steven Dake sdake at redhat.com
Wed Jun 10 12:00:44 PDT 2009


good for merge

On Thu, 2009-06-11 at 11:59 -0500, Ryan O'Hara wrote:
> The lck_unlock routine will grant pending locks. When those locks are
> pending PR locks, we grant all of them.
> 
> This patch uses list_splice to pending PR lock requests from
> pr_lock_pending_list_head to pr_lock_granted_list_head. Not only is
> this method cleaner, but it also fixes a memory error that was showing
> up in valgrind.
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list