From: Hartmut Birr Date: Wed, 30 Nov 2005 21:29:39 +0000 (+0000) Subject: Don't check for RequestedOptions if a trailing slash is removed. X-Git-Tag: backups/ros-branch-0_2_9@19949~148 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=85057b1dada700e78038502a65a86ad469d80f77 Don't check for RequestedOptions if a trailing slash is removed. svn path=/trunk/; revision=19785 --- 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); }