mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 21:01:54 +00:00
[NTOS:IO]
- It is paged code - We do not compare with TRUE svn path=/trunk/; revision=72545
This commit is contained in:
parent
af3b7ffad5
commit
174d181e5c
1 changed files with 4 additions and 3 deletions
|
@ -2089,7 +2089,7 @@ IopQueryAttributesFile(IN POBJECT_ATTRIBUTES ObjectAttributes,
|
|||
FILE_READ_ATTRIBUTES,
|
||||
&OpenPacket,
|
||||
&Handle);
|
||||
if (OpenPacket.ParseCheck != TRUE)
|
||||
if (OpenPacket.ParseCheck == FALSE)
|
||||
{
|
||||
/* Parse failed */
|
||||
DPRINT("IopQueryAttributesFile failed for '%wZ' with 0x%lx\n",
|
||||
|
@ -2181,6 +2181,7 @@ IopCreateFile(OUT PHANDLE FileHandle,
|
|||
PNAMED_PIPE_CREATE_PARAMETERS NamedPipeCreateParameters;
|
||||
POPEN_PACKET OpenPacket;
|
||||
ULONG EaErrorOffset;
|
||||
PAGED_CODE();
|
||||
|
||||
IOTRACE(IO_FILE_DEBUG, "FileName: %wZ\n", ObjectAttributes->ObjectName);
|
||||
|
||||
|
@ -2487,7 +2488,7 @@ IopCreateFile(OUT PHANDLE FileHandle,
|
|||
if (OpenPacket->EaBuffer) ExFreePool(OpenPacket->EaBuffer);
|
||||
|
||||
/* Now check for Ob or Io failure */
|
||||
if (!(NT_SUCCESS(Status)) || (OpenPacket->ParseCheck != TRUE))
|
||||
if (!(NT_SUCCESS(Status)) || (OpenPacket->ParseCheck == FALSE))
|
||||
{
|
||||
/* Check if Ob thinks well went well */
|
||||
if (NT_SUCCESS(Status))
|
||||
|
@ -2524,7 +2525,7 @@ IopCreateFile(OUT PHANDLE FileHandle,
|
|||
_SEH2_END;
|
||||
}
|
||||
}
|
||||
else if ((OpenPacket->FileObject) && (OpenPacket->ParseCheck != 1))
|
||||
else if ((OpenPacket->FileObject) && (OpenPacket->ParseCheck == FALSE))
|
||||
{
|
||||
/*
|
||||
* This can happen in the very bizarre case where the parse routine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue