From: Zheng Liu <wenqing.lz@xxxxxxxxxx> Signed-off-by: Zheng Liu <wenqing.lz@xxxxxxxxxx> --- debugfs/lsdel.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/debugfs/lsdel.c b/debugfs/lsdel.c index bed0ce6..71546c7 100644 --- a/debugfs/lsdel.c +++ b/debugfs/lsdel.c @@ -149,7 +149,8 @@ void do_lsdel(int argc, char **argv) "while calling ext2fs_block_iterate2"); goto next; } - if (lsd.free_blocks && !lsd.bad_blocks) { + if (lsd.free_blocks && !lsd.bad_blocks || + inode.i_flags & EXT4_INLINE_DATA_FL) { if (num_delarray >= max_delarray) { max_delarray += 50; delarray = realloc(delarray, -- 1.7.4.1 -- 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