Do not filter out PED_DEVICE_UNKNOWN devices as if they were read-only.

This is necessary because libparted still reports NVME devices as
PED_DEVICE_UNKNOWN.
This commit is contained in:
Teo Mrnjavac 2016-03-15 18:05:39 +01:00
parent 285d25f517
commit ccf1880efa
1 changed files with 0 additions and 1 deletions

View File

@ -432,7 +432,6 @@ QList<Device*> LibPartedBackend::scanDevices(bool excludeReadOnly)
continue;
if (excludeReadOnly && (
pedDevice->type == PED_DEVICE_LOOP ||
pedDevice->type == PED_DEVICE_UNKNOWN ||
pedDevice->read_only))
continue;