- Mark volumes as read-only. Patch by Barrett Karish.
CORE-9655 #resolve

svn path=/trunk/; revision=67621
This commit is contained in:
Thomas Faber 2015-05-10 14:09:47 +00:00
parent 020e3f1630
commit f7d9d7088b

View file

@ -95,7 +95,7 @@ CdfsGetFsAttributeInformation(PDEVICE_EXTENSION DeviceExt,
return STATUS_BUFFER_OVERFLOW;
FsAttributeInfo->FileSystemAttributes =
FILE_CASE_PRESERVED_NAMES | FILE_UNICODE_ON_DISK;
FILE_CASE_PRESERVED_NAMES | FILE_UNICODE_ON_DISK | FILE_READ_ONLY_VOLUME;
FsAttributeInfo->MaximumComponentNameLength = 255;
FsAttributeInfo->FileSystemNameLength = 8;