}
static bool
-ref_inodes_consistent(const struct wim_inode * restrict ref_inode_1,
- const struct wim_inode * restrict ref_inode_2)
+ref_inodes_consistent(const struct wim_inode *ref_inode_1,
+ const struct wim_inode *ref_inode_2)
{
- wimlib_assert(ref_inode_1 != ref_inode_2);
-
if (ref_inode_1->i_num_ads != ref_inode_2->i_num_ads)
return false;
if (ref_inode_1->i_security_id != ref_inode_2->i_security_id
struct hlist_node *cur, *tmp;
int ret;
INIT_LIST_HEAD(inode_list);
- for (u64 i = 0; i < table->capacity; i++) {
+ for (size_t i = 0; i < table->capacity; i++) {
hlist_for_each_entry_safe(inode, cur, tmp, &table->array[i], i_hlist) {
hlist_del_init(&inode->i_hlist);
ret = fix_nominal_inode(inode, inode_list, ino_changes_needed);
* WIM) is examined for consistency and may be split into multiple "true" inodes
* that are maximally sized consistent sets of dentries.
*
- * On success, the list of "true" inodes, linked by the i_hlist field,
- * is returned in the hlist @inode_list.
+ * On success, the list of "true" inodes, linked by the i_list field,
+ * is returned in the list @inode_list.
*
* Return values:
* WIMLIB_ERR_SUCCESS (0)