Commit 72f89d6b authored by Alexandre Julliard's avatar Alexandre Julliard

Revert "kernel32: Report unixfs instead of ntfs for unknown filesystem type."

This reverts commit 8044c11e.
parent f1023815
...@@ -511,8 +511,8 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label, DWORD label_len, ...@@ -511,8 +511,8 @@ BOOL WINAPI GetVolumeInformationW( LPCWSTR root, LPWSTR label, DWORD label_len,
static const WCHAR audiocdW[] = {'A','u','d','i','o',' ','C','D',0}; static const WCHAR audiocdW[] = {'A','u','d','i','o',' ','C','D',0};
static const WCHAR fatW[] = {'F','A','T',0}; static const WCHAR fatW[] = {'F','A','T',0};
static const WCHAR fat32W[] = {'F','A','T','3','2',0}; static const WCHAR fat32W[] = {'F','A','T','3','2',0};
static const WCHAR ntfsW[] = {'N','T','F','S',0};
static const WCHAR cdfsW[] = {'C','D','F','S',0}; static const WCHAR cdfsW[] = {'C','D','F','S',0};
static const WCHAR unixfsW[] = {'U','N','I','X','F','S',0};
WCHAR device[] = {'\\','\\','.','\\','A',':',0}; WCHAR device[] = {'\\','\\','.','\\','A',':',0};
HANDLE handle; HANDLE handle;
...@@ -613,7 +613,7 @@ fill_fs_info: /* now fill in the information that depends on the file system ty ...@@ -613,7 +613,7 @@ fill_fs_info: /* now fill in the information that depends on the file system ty
if (flags) *flags = FILE_CASE_PRESERVED_NAMES; /* FIXME */ if (flags) *flags = FILE_CASE_PRESERVED_NAMES; /* FIXME */
break; break;
default: default:
if (fsname) lstrcpynW( fsname, unixfsW, fsname_len ); if (fsname) lstrcpynW( fsname, ntfsW, fsname_len );
if (filename_len) *filename_len = 255; if (filename_len) *filename_len = 255;
if (flags) *flags = FILE_CASE_PRESERVED_NAMES; if (flags) *flags = FILE_CASE_PRESERVED_NAMES;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment