Fix accidental reversion of commit 0702f6

pull/2/head
Timothy Pearson 10 years ago
parent 226c78e59b
commit 96f718bb7e

@ -154,6 +154,12 @@ void TDEBackend::AddDevice(TDEStorageDevice * sdevice, bool allowNotification)
) {
//
}
/* We also don't display devices that underlie other devices;
/* e.g. the raw partition of a device mapper volume
*/
else if (sdevice->checkDiskStatus(TDEDiskDeviceStatus::UsedByDevice)) {
//
}
else {
// Create medium
Medium* medium = new Medium(sdevice->uniqueID(), driveUDIFromDeviceUID(sdevice->uniqueID()), "");

Loading…
Cancel
Save