Fix broken if statement. It couldn't evaluate to true.

svn path=/trunk/; revision=67077
This commit is contained in:
Pierre Schweitzer 2015-04-06 19:19:35 +00:00
parent a2a9df3eed
commit 80bdaf1f3e

View file

@ -2071,7 +2071,7 @@ SmpProcessFileRenames(VOID)
InformationClass);
/* Check if we seem to have failed because the file was readonly */
if ((NT_SUCCESS(Status) &&
if ((!NT_SUCCESS(Status) &&
(InformationClass == FileRenameInformation) &&
(Status == STATUS_OBJECT_NAME_COLLISION) &&
(Buffer->ReplaceIfExists)))