Revert "kernel32: Report unixfs instead of ntfs for unknown filesystem type."
authorAlexandre Julliard <julliard@winehq.org>
Mon, 27 Apr 2009 11:25:53 +0000 (13:25 +0200)
committerIlya Shpigor <shpigor@etersoft.ru>
Tue, 23 Mar 2010 12:41:11 +0000 (15:41 +0300)
This reverts commit 8044c11ecfca09e2b643feccb95a4d8f645ba656.

dlls/kernel32/volume.c

index 878bd0428cefe6bc1e06093d2f4bd3e03dc2915e..53079d0ecf44edfc13a8d6485ec15853abbb7009 100644 (file)
@@ -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 fatW[] = {'F','A','T',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 unixfsW[] = {'U','N','I','X','F','S',0};
 
     WCHAR device[] = {'\\','\\','.','\\','A',':',0};
     HANDLE handle;
@@ -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 */
         break;
     default:
-        if (fsname) lstrcpynW( fsname, unixfsW, fsname_len );
+        if (fsname) lstrcpynW( fsname, ntfsW, fsname_len );
         if (filename_len) *filename_len = 255;
         if (flags) *flags = FILE_CASE_PRESERVED_NAMES;
         break;