]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:46:22 +0000 (08:46 -0800)
commit7e195bc5bfc5e82fdf735372a4773e6894676911
tree4aa1387742798422cbbb6a30b2c223f9236abb1b
parent77b130deb4c58c76eec6b55e6ab123a9b280bc4d
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