+ /*
+ * Write out e_entries tables
+ */
+ for (i = WINO; i <= maxino; i++) {
+ for (ep = lookupino(i); ep != NULL; ep = ep->e_links) {
+ if (ep->e_entries != NULL) {
+ int j;
+ memcpy(temphash, ep->e_entries, DIRHASH_SIZE * sizeof(struct entry *));
+ for (j = 0; j < DIRHASH_SIZE; j++) {
+ if (temphash[j])
+ temphash[j] = (struct entry *)ep->e_entries[j]->e_index;
+ }
+ fwrite(temphash, DIRHASH_SIZE, sizeof(struct entry *), fd);
+ }
+ }
+ }