ext4: fix extent tree corruption caused by hole punch
commit8cbe63802ddac6b242e4a4293fc338fa7808272c
authorForrest Liu <forrestl@synology.com>
Mon, 17 Dec 2012 14:55:39 +0000 (17 09:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:43:57 +0000 (17 08:43 -0800)
treed1cb0a8ef4ef247db353fb2bfc16b085b8877a62
parentfc65b0bb8b56913b0610588d83c78d0e5e968e9d
ext4: fix extent tree corruption caused by hole punch

commit c36575e663e302dbaa4d16b9c72d2c9a913a9aef upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/extents.c