[CDFS_NEW] Remove a no longer required build hack
authorPierre Schweitzer <pierre@reactos.org>
Mon, 6 Nov 2017 18:46:43 +0000 (19:46 +0100)
committerPierre Schweitzer <pierre@reactos.org>
Mon, 6 Nov 2017 19:02:16 +0000 (20:02 +0100)
drivers/filesystems/cdfs_new/fsctrl.c
drivers/filesystems/cdfs_new/wdk_wnet_to_ros.diff

index 95dda72..31c4965 100755 (executable)
@@ -2295,7 +2295,7 @@ Return Value:
 
     Status = ObReferenceObjectByHandle( Handle,
                                         0,
-                                        IoFileObjectType, /* ReactOS Change: GCC/LD Incompatibility with exported kernel data */
+                                        *IoFileObjectType,
                                         KernelMode,
                                         (PVOID*)&FileToMarkBad, /* ReactOS Change: GCC "passing argument 5 of 'ObReferenceObjectByHandle' from incompatible pointer type" */
                                         NULL );
index 9221a7f..ed075d0 100644 (file)
@@ -935,12 +935,9 @@ Index: drivers/filesystems/cdfs_new/fsctrl.c
  CdIsVolumeDirty (
      IN PIRP_CONTEXT IrpContext,
      IN PIRP Irp
-@@ -2294,9 +2295,9 @@
-     Status = ObReferenceObjectByHandle( Handle,
+@@ -2296,9 +2297,9 @@
                                          0,
--                                        *IoFileObjectType,
-+                                        IoFileObjectType, /* ReactOS Change: GCC/LD Incompatibility with exported kernel data */
+                                         *IoFileObjectType,
                                          KernelMode,
 -                                        &FileToMarkBad,
 +                                        (PVOID*)&FileToMarkBad, /* ReactOS Change: GCC "passing argument 5 of 'ObReferenceObjectByHandle' from incompatible pointer type" */