Author: pschweitzer
Date: Sat Apr 25 18:36:41 2015
New Revision: 67423
URL:
http://svn.reactos.org/svn/reactos?rev=67423&view=rev
Log:
[KERNEL32]
Remove hack in PrivMoveFileIdentityW and properly handle failing call to
BasepNotifyTrackingService().
Fixes regression brought by r67355
Modified:
trunk/reactos/dll/win32/kernel32/client/file/move.c
Modified: trunk/reactos/dll/win32/kernel32/client/file/move.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/client/file/move.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/client/file/move.c [iso-8859-1] Sat Apr 25 18:36:41
2015
@@ -1495,17 +1495,15 @@
&ObjectAttributesSource,
DestinationHandle,
&NtDestination);
-#if 1 // ReactOS HACK
- /* FIXME: To be removed once BasepNotifyTrackingService is implemented */
- if (Status == STATUS_NOT_IMPLEMENTED)
- Status = STATUS_SUCCESS;
-#endif
if (!NT_SUCCESS(Status))
{
if (dwFlags & PRIV_ALLOW_NON_TRACKABLE)
{
if (NT_SUCCESS(OldStatus))
OldStatus = Status;
+
+ /* Reset status, we allow non trackable files */
+ Status = STATUS_SUCCESS;
}
}
}