diff --git a/reactos/drivers/fs/vfat/create.c b/reactos/drivers/fs/vfat/create.c index 1ab211b576a..117721cc5da 100644 --- a/reactos/drivers/fs/vfat/create.c +++ b/reactos/drivers/fs/vfat/create.c @@ -532,11 +532,6 @@ VfatCreateFile ( PDEVICE_OBJECT DeviceObject, PIRP Irp ) } 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); }