[DISK_NEW] Return correct info size in failure case of DiskIoctlGetPartitionInfoEx.

This commit is contained in:
Thomas Faber 2020-01-02 16:26:50 +01:00
parent 2fa7b1dcc1
commit 0d745e0698
No known key found for this signature in database
GPG key ID: 076E7C3D44720826

View file

@ -6053,7 +6053,7 @@ DiskIoctlGetPartitionInfoEx(
status = STATUS_BUFFER_TOO_SMALL; status = STATUS_BUFFER_TOO_SMALL;
Irp->IoStatus.Status = status; Irp->IoStatus.Status = status;
Irp->IoStatus.Information = sizeof(PARTITION_INFORMATION); Irp->IoStatus.Information = sizeof(PARTITION_INFORMATION_EX);
return status; return status;
} }