From: Pierre Schweitzer Date: Mon, 11 Nov 2019 20:20:58 +0000 (+0100) Subject: [NTOSKRNL] Properly check for Ft volumes X-Git-Tag: 0.4.14-RC~1265 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=324285f0b9a7726cf2c00aa49cd262f1f4f70ec0 [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 --- diff --git a/ntoskrnl/fstub/disksup.c b/ntoskrnl/fstub/disksup.c index 0b81bc561dd..3198481fb5d 100644 --- a/ntoskrnl/fstub/disksup.c +++ b/ntoskrnl/fstub/disksup.c @@ -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;