From: Dmitry Monakhov Date: Tue, 25 Oct 2011 09:35:05 +0000 (-0400) Subject: ext4: remove messy logic from ext4_ext_rm_leaf X-Git-Tag: v3.2-rc1~85^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=750c9c47a5f9daa88333ac435a1afe4d4b428230;p=pandora-kernel.git ext4: remove messy logic from ext4_ext_rm_leaf - Both callers(truncate and punch_hole) already aligned left end point so we no longer need split logic here. - Remove dead duplicated code. - Call ext4_ext_dirty only after we have updated eh_entries, otherwise we'll loose entries update. Regression caused by d583fb87a3ff0 266'th testcase in xfstests (http://patchwork.ozlabs.org/patch/120872) Signed-off-by: Dmitry Monakhov Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed