mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[FASTFAT]
Don't attempt to mount any partition just because we have a valid partition table... Restrict this to them being marked as FAT or compatible. svn path=/trunk/; revision=65115
This commit is contained in:
parent
d22dd7da46
commit
c9ec1555ad
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,6 @@ VfatHasFileSystem(
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
PartitionInfoIsValid = TRUE;
|
|
||||||
DPRINT("Partition Information:\n");
|
DPRINT("Partition Information:\n");
|
||||||
DPRINT("StartingOffset %I64x\n", PartitionInfo.StartingOffset.QuadPart / 512);
|
DPRINT("StartingOffset %I64x\n", PartitionInfo.StartingOffset.QuadPart / 512);
|
||||||
DPRINT("PartitionLength %I64x\n", PartitionInfo.PartitionLength.QuadPart / 512);
|
DPRINT("PartitionLength %I64x\n", PartitionInfo.PartitionLength.QuadPart / 512);
|
||||||
|
@ -108,6 +107,7 @@ VfatHasFileSystem(
|
||||||
PartitionInfo.PartitionType == PARTITION_FAT32_XINT13 ||
|
PartitionInfo.PartitionType == PARTITION_FAT32_XINT13 ||
|
||||||
PartitionInfo.PartitionType == PARTITION_XINT13)
|
PartitionInfo.PartitionType == PARTITION_XINT13)
|
||||||
{
|
{
|
||||||
|
PartitionInfoIsValid = TRUE;
|
||||||
*RecognizedFS = TRUE;
|
*RecognizedFS = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -117,6 +117,7 @@ VfatHasFileSystem(
|
||||||
PartitionInfo.PartitionLength.QuadPart > 0)
|
PartitionInfo.PartitionLength.QuadPart > 0)
|
||||||
{
|
{
|
||||||
/* This is possible a removable media formated as super floppy */
|
/* This is possible a removable media formated as super floppy */
|
||||||
|
PartitionInfoIsValid = TRUE;
|
||||||
*RecognizedFS = TRUE;
|
*RecognizedFS = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue