From: Robin Dong Date: Thu, 28 Jul 2011 01:29:33 +0000 (-0400) Subject: ext4: add action of moving index in ext4_ext_rm_idx for Punch Hole X-Git-Tag: v3.1-rc1~90^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1147b001793593624e80b3c0a1790822b6baca;p=pandora-kernel.git ext4: add action of moving index in ext4_ext_rm_idx for Punch Hole The old function ext4_ext_rm_idx is used only for truncate case because it just remove last index in extent-index-block. When punching hole, it usually needed to remove "middle" index, therefore we must move indexes which after it forward. (I create a file with 1 depth extent tree and punch hole in the middle of it, the last index in index-block strangly gone, so I find out this bug) Signed-off-by: Robin Dong Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed