mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
Don't check for RequestedOptions if a trailing slash is removed.
svn path=/trunk/; revision=19785
This commit is contained in:
parent
a0a5cebd2d
commit
85057b1dad
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue