All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: linux-kernel@vger.kernel.org, linux-ext4@vger.kernel.org,
	linux-next@vger.kernel.org
Subject: Re: [PATCH] ext4: Initialize list properly
Date: Thu, 12 Feb 2009 17:00:37 -0500	[thread overview]
Message-ID: <20090212220037.GG6922@mini-me.lan> (raw)
In-Reply-To: <1234422331-32766-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com>

On Thu, Feb 12, 2009 at 12:35:31PM +0530, Aneesh Kumar K.V wrote:
> We need to initialize the list_head properly before we add
> them to the any list. Otherwise with list debug on we get
> list corruption warnings.
> 
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>

Added to the ext4 patch queue with a slight adjustment in the patch
commit for readability issues:

   When creating a new ext4_prealloc_space structure, we have to
   initialize its list_head pointers before we add them to any prealloc
   lists.  Otherwise, with list debug enabled, we will get list
   corruption warnings.

   Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
   Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

						- Ted

      reply	other threads:[~2009-02-12 22:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-10 17:06 next-20090210: list_del corruption (ext4) Alexander Beregalov
2009-02-12  7:05 ` [PATCH] ext4: Initialize list properly Aneesh Kumar K.V
2009-02-12 22:00   ` Theodore Tso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090212220037.GG6922@mini-me.lan \
    --to=tytso@mit.edu \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.