From 324285f0b9a7726cf2c00aa49cd262f1f4f70ec0 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Mon, 11 Nov 2019 21:20:58 +0100 Subject: [PATCH] [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 --- ntoskrnl/fstub/disksup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.17.1