Don't check for RequestedOptions if a trailing slash is removed.
Modified: trunk/reactos/drivers/fs/vfat/create.c
--- trunk/reactos/drivers/fs/vfat/create.c 2005-11-30 19:12:40 UTC (rev 19784) +++ trunk/reactos/drivers/fs/vfat/create.c 2005-11-30 21:29:39 UTC (rev 19785) @@ -532,11 +532,6 @@
} if (PathNameU.Length > sizeof(WCHAR) && PathNameU.Buffer[PathNameU.Length/sizeof(WCHAR)-1] == L'\\') {
- if (!(RequestedOptions & FILE_DIRECTORY_FILE)) - { - /* FIXME: Is this the right error message? */ - return(STATUS_OBJECT_NAME_INVALID); - }
PathNameU.Length -= sizeof(WCHAR); }