From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Smith Subject: Re: [PATCH] Fixes for the deferqueue_add() function Date: Fri, 19 Jun 2009 11:16:43 -0700 Message-ID: <87prd0um0k.fsf@caffeine.danplanet.com> References: <1245431791-17588-1-git-send-email-danms@us.ibm.com> <20090619175600.GB26692@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Serge E. Hallyn" Cc: containers-qjLDD68F18O7TbgM5vRIOg@public.gmane.org List-Id: containers.vger.kernel.org >> + INIT_LIST_HEAD(&dq->list); SH> I'm pretty sure only head->list needed to be initialized. >> - list_add_tail(&head->list, &dq->list); >> + list_add_tail(&dq->list, &head->list); SH> at least after you've done this :) Right, right, well, it was part of the process... :) -- Dan Smith IBM Linux Technology Center email: danms-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org