wim->lookup_table = joined_tab;
}
+ if (mount_flags & WIMLIB_MOUNT_FLAG_READWRITE) {
+ ret = wim_run_full_verifications(wim);
+ if (ret != 0)
+ goto out;
+ }
+
ret = select_wim_image(wim, image);
if (ret != 0)
/* Mark dentry tree as modified if read-write mount. */
if (mount_flags & WIMLIB_MOUNT_FLAG_READWRITE) {
- imd->modified = true;
- imd->has_been_mounted_rw = true;
+ imd->modified = 1;
+ imd->has_been_mounted_rw = 1;
}
/* Resolve all the lookup table entries of the dentry tree */