When we're looking for directory blocks for the inode remapping step, we need to include inline_data directories in the remap process. Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --- resize/resize2fs.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/resize/resize2fs.c b/resize/resize2fs.c index 7122b2f..f5f1337 100644 --- a/resize/resize2fs.c +++ b/resize/resize2fs.c @@ -1712,6 +1712,13 @@ remap_blocks: retval = pb.error; goto errout; } + } else if ((inode->i_flags & EXT4_INLINE_DATA_FL) && + (rfs->bmap || pb.is_dir)) { + /* inline data dir; update it too */ + retval = ext2fs_add_dir_block2(rfs->old_fs->dblist, + new_inode, 0, 0); + if (retval) + goto errout; } } io_channel_flush(rfs->old_fs->io); -- 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