ext4: fix extent tree corruption caused by hole punch
authorForrest Liu <forrestl@synology.com>
Mon, 17 Dec 2012 14:55:39 +0000 (09:55 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 Dec 2012 14:55:39 +0000 (09:55 -0500)
commitc36575e663e302dbaa4d16b9c72d2c9a913a9aef
tree924ba9ba84f3c9eca9f77d2c3ad9ff43ca5f2c02
parentbd9926e80330d43f15b710c2935fa41b792d56fd
ext4: fix extent tree corruption caused by hole punch

When depth of extent tree is greater than 1, logical start value of
interior node is not correctly updated in ext4_ext_rm_idx.

Signed-off-by: Forrest Liu <forrestl@synology.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Ashish Sangwan <ashishsangwan2@gmail.com>
Cc: stable@vger.kernel.org
fs/ext4/extents.c