The File System attributes are set by the service in the volume
information request. Use the values the service provides instead
of returning an incomplete hard coded list.
Change-Id: If620cd520ab29780ef296c6f15dfaee3774c3d41
Reviewed-on: http://gerrit.openafs.org/8974
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
IN PFILE_FS_ATTRIBUTE_INFORMATION Buffer,
IN OUT PULONG Length)
{
- UNREFERENCED_PARAMETER(VolumeInfo);
NTSTATUS ntStatus = STATUS_SUCCESS;
RtlZeroMemory( Buffer,
if( *Length >= (LONG)(sizeof( FILE_FS_ATTRIBUTE_INFORMATION)))
{
- Buffer->FileSystemAttributes = (FILE_CASE_PRESERVED_NAMES |
- FILE_UNICODE_ON_DISK |
- FILE_SUPPORTS_HARD_LINKS |
- FILE_SUPPORTS_REPARSE_POINTS);
+ Buffer->FileSystemAttributes = VolumeInfo->FileSystemAttributes;
Buffer->MaximumComponentNameLength = 255;