https://git.reactos.org/?p=reactos.git;a=commitdiff;h=cdf47d525490da244e89729463f72c2a960d7e0b

commit cdf47d525490da244e89729463f72c2a960d7e0b
Author:     Pierre Schweitzer <[email protected]>
AuthorDate: Sun Nov 25 10:40:53 2018 +0100
Commit:     Pierre Schweitzer <[email protected]>
CommitDate: Sun Nov 25 10:41:22 2018 +0100

    [VFATLIB] Drop a hack no longer needed after f87d9ca
---
 sdk/lib/fslib/vfatlib/check/io.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sdk/lib/fslib/vfatlib/check/io.c b/sdk/lib/fslib/vfatlib/check/io.c
index e16d40a877..6e4bea2b79 100644
--- a/sdk/lib/fslib/vfatlib/check/io.c
+++ b/sdk/lib/fslib/vfatlib/check/io.c
@@ -247,13 +247,6 @@ NTSTATUS fs_lock(BOOLEAN LockVolume)
     if (!NT_SUCCESS(Status))
     {
         DPRINT1("NtFsControlFile() failed with Status 0x%08x\n", Status);
-#if 1
-        /* FIXME: ReactOS HACK for 1stage due to IopParseDevice() hack */
-        if (Status == STATUS_INVALID_DEVICE_REQUEST)
-        {
-            Status = STATUS_ACCESS_DENIED;
-        }
-#endif
     }
 
     return Status;

Reply via email to