[USETUP] Remove the PARTITION_EXT2 constant and use PARTITION_LINUX in favour since PARTITION_EXT2 is just an alias to PARTITION_LINUX

And since we're here, add PARTITION_LINUX_EXT to ReactOS I/O controls header (rosioctl.h).
This commit is contained in:
Bișoc George 2018-10-28 13:28:56 +01:00 committed by Hermès BÉLUSCA - MAÏTO
parent 538f9d6aae
commit 4c6370de16
4 changed files with 6 additions and 7 deletions

View file

@ -221,7 +221,7 @@ GetFileSystem(
else
FileSystemName = NULL;
}
else if (PartEntry->PartitionType == PARTITION_EXT2)
else if (PartEntry->PartitionType == PARTITION_LINUX)
{
if (CheckExt2Format())
FileSystemName = L"EXT2";
@ -386,7 +386,7 @@ PreparePartitionForFormatting(
#if 0
else if (wcscmp(FileSystem->FileSystemName, L"EXT2") == 0)
{
SetPartitionType(PartEntry, PARTITION_EXT2);
SetPartitionType(PartEntry, PARTITION_LINUX);
}
else if (wcscmp(FileSystem->FileSystemName, L"NTFS") == 0)
{