struct wim_inode *back_inode;
u32 back_stream_id;
};
- } _packed_attribute; /* union is SHA1_HASH_SIZE bytes */
+ };
/* Number of times this blob is referenced by file streams in WIM
* images. See blob_decrement_refcnt() for information about the
/* 1 iff the SHA-1 message digest of this blob is unknown. */
u16 unhashed : 1;
+ /* 1 iff this blob has failed its checksum. */
+ u16 corrupted : 1;
+
/* Temporary fields used when writing blobs; set as documented for
* prepare_blob_list_for_write(). */
u16 unique_size : 1;
extern struct blob_descriptor *
after_blob_hashed(struct blob_descriptor *blob,
struct blob_descriptor **back_ptr,
- struct blob_table *blob_table);
+ struct blob_table *blob_table, struct wim_inode *inode);
extern int
hash_unhashed_blob(struct blob_descriptor *blob, struct blob_table *blob_table,