ext4: Ensure zeroout blocks have no dirty metadata
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 30 Dec 2009 04:39:06 +0000 (23:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Dec 2009 04:39:06 +0000 (23:39 -0500)
commit515f41c33a9d44a964264c9511ad2c869af1fac3
treebd1790a9787ec171168a87268d3218122e087f2e
parent2faf2e19dd0e060eeb32442858ef495ac3083277
ext4: Ensure zeroout blocks have no dirty metadata

This fixes a bug (found by Curt Wohlgemuth) in which new blocks
returned from an extent created with ext4_ext_zeroout() can have dirty
metadata still associated with them.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Curt Wohlgemuth <curtw@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c