mirror of
https://github.com/reactos/reactos.git
synced 2026-05-20 01:44:36 +08:00
This is the same fix for the same condition check, as the one already applied to `IopCreateArcNamesDisk()` in commit3fe12f1a7c. This bug was introduced in commit538b9e4fbf(r49212) and is identical to the one introduced in commit6d0861e9ed(r49131). The idea behind the condition check, is that we consider the enumerated disk to be a match with the currently-considered one from the ARC disk signatures, *IF*: - there is only one single disk listed in the ARC disk signatures, *AND* only one single disk detected at runtime by the kernel, *AND* this disk is MBR-partitioned; - *OR*, there is one or more disks present and the enumerated disk's signature match the currently-considered ARC disk signature. (This is the more general case for when there are one or multiple disks on the system, and/or one disk at least is GPT).