From 6ebbc59bd5f14d9d67cb1960b9905596de714460 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sat, 25 Apr 2015 18:36:41 +0000 Subject: [PATCH] [KERNEL32] Remove hack in PrivMoveFileIdentityW and properly handle failing call to BasepNotifyTrackingService(). Fixes regression brought by r67355 svn path=/trunk/; revision=67423 --- reactos/dll/win32/kernel32/client/file/move.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/reactos/dll/win32/kernel32/client/file/move.c b/reactos/dll/win32/kernel32/client/file/move.c index 0f476ed1838..1313e200af7 100644 --- a/reactos/dll/win32/kernel32/client/file/move.c +++ b/reactos/dll/win32/kernel32/client/file/move.c @@ -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; } } } -- 2.17.1