So faar our driver is read-only

svn path=/trunk/; revision=67984
This commit is contained in:
Pierre Schweitzer 2015-05-31 21:31:14 +00:00
parent 4a632280f0
commit 4512ae4da4

View file

@ -165,7 +165,7 @@ NtfsGetFsAttributeInformation(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;