- * possible for this function to fail. Go ahead and increment the
- * reference counts of the dentry tree and security data, then update
- * the lookup table of the destination WIM and the boot index, if
- * needed. */
- sd->refcnt++;
- hlist_for_each_entry(inode, cur_node, &src_imd->inode_list, i_hlist) {
+ * possible for this function to fail. Go ahead and update the lookup
+ * table of the destination WIM and the boot index, if needed. */
+ image_for_each_inode(inode, src_imd) {