mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[VFATFS] Return 'FATX' as FsType for FATX volumes
CORE-16373
This commit is contained in:
parent
15ea997774
commit
b935bfe6cb
1 changed files with 7 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue