mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 17:00:51 +08:00
[VFATFS] Return 'FATX' as FsType for FATX volumes
CORE-16373
This commit is contained in:
committed by
hpoussin
parent
15ea997774
commit
b935bfe6cb
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user