Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imsm: fix tpv drvies check in add_to_super
Before the mentioned patch, the check to verify if IMSM on current platform supports a use of TPV (other than Intel) disk, was only performed for non-Intel disks, after it is performed for all. This change causes inability to use any disk when platform does not support TPV drives, attempt results in the following error. mdadm: Platform configuration does not support non-Intel NVMe drives. Please refer to Intel(R) RSTe/VROC user guide. This change restores the check if the disk is non-Intel. Fixes: 734e7db ("imsm: Remove warning and refactor add_to_super_imsm code") Signed-off-by: Blazej Kucman <[email protected]>
- Loading branch information