Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[driver] Wait for the correct disk to show up, rather than any disk
check_system_disk() neglects to set the status to a non-success value before checking the disk signature, with the result that it will return success as soon as fetch_partition_info() succeeds for any disk. (This is incorrect behaviour, but will have observable effects only in a multi-disk setup where the SAN disks come online at different times.) Fix by setting status to STATUS_UNSUCCESSFUL before checking the disk signature. Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
- Loading branch information