- if (dentry->num_ads) {
- u16 i = 0;
- do {
- length += WIM_ADS_ENTRY_DISK_SIZE +
- dentry->ads_entries[i].stream_name_len;
- } while (++i != dentry->num_ads);
- /* If there are Alternate Stream Entries, we apparently need to
- * round up to the NEXT 8-byte boundary, even if we are already
- * aligned on one... */
- length++;
- }