struct blob_descriptor *blob;
hash = inode_get_hash_of_unnamed_data_stream(inode);
+ if (!hash) /* unhashed? */
+ return 0;
head = &blob_table->table[load_size_t_unaligned(hash) %
blob_table->capacity];
hlist_for_each_entry(blob, head, hash_list_2) {
blob_table.capacity]);
break;
case BLOB_IN_FILE_ON_DISK:
- #ifdef __WIN32__
- case BLOB_IN_WINNT_FILE_ON_DISK:
+ #ifdef _WIN32
+ case BLOB_IN_WINDOWS_FILE:
#endif
blob_set_solid_sort_name_from_inode(blob, blob->file_inode);
break;