[VFATFS] Return 'FATX' as FsType for FATX volumes

CORE-16373
This commit is contained in:
Hervé Poussineau 2022-09-13 23:15:27 +02:00 committed by hpoussin
parent 15ea997774
commit b935bfe6cb

View file

@ -100,13 +100,14 @@ FsdGetFsAttributeInformation(
ASSERT(*BufferLength >= sizeof(FILE_FS_ATTRIBUTE_INFORMATION));
*BufferLength -= FIELD_OFFSET(FILE_FS_ATTRIBUTE_INFORMATION, FileSystemName);
if (DeviceExt->FatInfo.FatType == FAT32)
switch (DeviceExt->FatInfo.FatType)
{
pName = L"FAT32";
}
else
{
pName = L"FAT";
case FAT12: pName = L"FAT"; break;
case FAT16: pName = L"FAT"; break;
case FAT32: pName = L"FAT32"; break;
case FATX16: pName = L"FATX"; break;
case FATX32: pName = L"FATX"; break;
default: return STATUS_NOT_SUPPORTED;
}
Length = wcslen(pName) * sizeof(WCHAR);