https://git.reactos.org/?p=reactos.git;a=commitdiff;h=324285f0b9a7726cf2c00aa49cd262f1f4f70ec0

commit 324285f0b9a7726cf2c00aa49cd262f1f4f70ec0
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Mon Nov 11 21:20:58 2019 +0100
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Mon Nov 11 21:20:58 2019 +0100

    [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;

Reply via email to