From 10ce3354a32861197319600911c7b614666b5a55 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 31 Dec 2011 02:01:34 +0000 Subject: [PATCH] [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 svn path=/trunk/; revision=54789 --- reactos/dll/win32/kernel32/client/file/dir.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reactos/dll/win32/kernel32/client/file/dir.c b/reactos/dll/win32/kernel32/client/file/dir.c index 5ce0652a8aa..776a4b9fcc7 100644 --- a/reactos/dll/win32/kernel32/client/file/dir.c +++ b/reactos/dll/win32/kernel32/client/file/dir.c @@ -342,6 +342,12 @@ OpenTemplateDir: } 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; }