On Tue, Jul 26, 2011 at 03:34:59PM +0800, Robin Dong wrote: > From: Robin Dong <sanbai@xxxxxxxxxx> > > 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 <sanbai@xxxxxxxxxx> Thanks, added to the ext4 tree. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html