+ if (dentry->hard_link == 0) {
+ /* Single group--- Add to the singles list (we can't put it in
+ * the table itself because all the singles have a link group ID
+ * of 0) */
+ group = MALLOC(sizeof(struct link_group));
+ if (!group)
+ return WIMLIB_ERR_NOMEM;
+ DEBUG("Insert single group `%s'", dentry->full_path_utf8);
+ group->link_group_id = 0;
+ group->next = table->singles;
+ table->singles = group;
+ INIT_LIST_HEAD(&dentry->link_group_list);
+ group->dentry_list = &dentry->link_group_list;