mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
[KERNEL32]
Remove hack in PrivMoveFileIdentityW and properly handle failing call to BasepNotifyTrackingService(). Fixes regression brought by r67355 svn path=/trunk/; revision=67423
This commit is contained in:
parent
0fb4696970
commit
6ebbc59bd5
|
@ -1495,17 +1495,15 @@ PrivMoveFileIdentityW(IN LPCWSTR lpSource, IN LPCWSTR lpDestination, IN DWORD dw
|
|||
&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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue