ext4: Initialize preallocation list_head's properly
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sat, 14 Feb 2009 15:31:16 +0000 (10:31 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 14 Feb 2009 15:31:16 +0000 (10:31 -0500)
commitd794bf8e0936dce45104565cd48c571061f4c1e3
treead23776b739eb551b520865e837a106a7b628819
parentba4439165f0f0d25b2fe065cf0c1ff8130b802eb
ext4: Initialize preallocation list_head's properly

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>
fs/ext4/mballoc.c