Author: pschweitzer
Date: Sat Dec 31 02:01:34 2011
New Revision: 54789

URL: http://svn.reactos.org/svn/reactos?rev=54789&view=rev
Log:
[KERNEL32]
CreateDirectory: handle the case when the FS doesn't support EAs.
This should fix VBox and is mandatory if we want to support MS FSD with FAT32

Modified:
    trunk/reactos/dll/win32/kernel32/client/file/dir.c

Modified: trunk/reactos/dll/win32/kernel32/client/file/dir.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/file/dir.c?rev=54789&r1=54788&r2=54789&view=diff
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/file/dir.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/file/dir.c [iso-8859-1] Sat Dec 31 
02:01:34 2011
@@ -342,6 +342,12 @@
           }
           else
           {
+            if (Status == STATUS_EAS_NOT_SUPPORTED)
+            {
+                /* Extended attributes are not supported, so, this is OK */
+                /* FIXME: Would deserve a deeper look, comparing with Windows 
*/
+                Status = STATUS_SUCCESS;
+            }
             /* failure or no extended attributes present, break the loop */
             break;
           }


Reply via email to