- disk.sys: Don't fail IOCTL_GET_PARTITION_INFO for Partition 0. This is perfectly...
[reactos.git] / reactos / drivers / storage / disk / disk.c
index a461d02..bf70674 100644 (file)
@@ -1129,10 +1129,10 @@ DiskClassDeviceControl(IN PDEVICE_OBJECT DeviceObject,
          {
            Status = STATUS_INFO_LENGTH_MISMATCH;
          }
-       else if (DiskData->PartitionNumber == 0)
-         {
-           Status = STATUS_INVALID_DEVICE_REQUEST;
-         }
+       //else if (DiskData->PartitionNumber == 0)
+//       {
+//         Status = STATUS_INVALID_DEVICE_REQUEST;
+         //}
        else
        {
            PPARTITION_INFORMATION PartitionInfo;