Comments
Patch
@@ -308,8 +308,12 @@ static void rdump_inode(ext2_ino_t ino, struct ext2_inode *inode,
goto errout;
}
- retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
- rdump_dirent, (void *) fullname);
+ if (ext2fs_has_inline_data(current_fs, ino))
+ retval = ext2fs_inline_data_iterate(current_fs, ino, 0, 0,
+ rdump_dirent, (void *) fullname);
+ else
+ retval = ext2fs_dir_iterate(current_fs, ino, 0, 0,
+ rdump_dirent, (void *) fullname);
if (retval)
com_err("rdump", retval, "while dumping %s", fullname);