[NTOSKRNL] Properly check for Ft volumes

This fixes a regression introduced in 5ab1cfc which
was causing Unix (BtrFS, ExtX, and so on) volumes not
to be assigned a drive letter assigned anymore. And
thus, they were no longer mounted and presented to the
users.

CORE-16499
This commit is contained in:
Pierre Schweitzer 2019-11-11 21:20:58 +01:00
parent 0a0e6a9f07
commit 324285f0b9
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -277,7 +277,7 @@ HalpQueryPartitionType(IN PUNICODE_STRING DeviceName,
}
/* Check if that's a FT volume */
if (PartitionInfo.Mbr.PartitionType & PARTITION_NTFT)
if (IsFTPartition(PartitionInfo.Mbr.PartitionType))
{
*PartitionType = FtPartition;
return STATUS_SUCCESS;