mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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));
|
ASSERT(*BufferLength >= sizeof(FILE_FS_ATTRIBUTE_INFORMATION));
|
||||||
*BufferLength -= FIELD_OFFSET(FILE_FS_ATTRIBUTE_INFORMATION, FileSystemName);
|
*BufferLength -= FIELD_OFFSET(FILE_FS_ATTRIBUTE_INFORMATION, FileSystemName);
|
||||||
|
|
||||||
if (DeviceExt->FatInfo.FatType == FAT32)
|
switch (DeviceExt->FatInfo.FatType)
|
||||||
{
|
{
|
||||||
pName = L"FAT32";
|
case FAT12: pName = L"FAT"; break;
|
||||||
}
|
case FAT16: pName = L"FAT"; break;
|
||||||
else
|
case FAT32: pName = L"FAT32"; break;
|
||||||
{
|
case FATX16: pName = L"FATX"; break;
|
||||||
pName = L"FAT";
|
case FATX32: pName = L"FATX"; break;
|
||||||
|
default: return STATUS_NOT_SUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
Length = wcslen(pName) * sizeof(WCHAR);
|
Length = wcslen(pName) * sizeof(WCHAR);
|
||||||
|
|
Loading…
Reference in a new issue