Author: pschweitzer
Date: Sat Jun 3 21:47:53 2017
New Revision: 74804
URL:
http://svn.reactos.org/svn/reactos?rev=74804&view=rev
Log:
[UDFS]
Attempt to fix MSVC build
CORE-4375
Modified:
trunk/reactos/drivers/filesystems/udfs/env_spec.cpp
trunk/reactos/drivers/filesystems/udfs/fscntrl.cpp
trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp
Modified: trunk/reactos/drivers/filesystems/udfs/env_spec.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/udfs/e…
==============================================================================
--- trunk/reactos/drivers/filesystems/udfs/env_spec.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/udfs/env_spec.cpp [iso-8859-1] Sat Jun 3 21:47:53
2017
@@ -307,7 +307,7 @@
KeQuerySystemTime((PLARGE_INTEGER)&IoEnterTime);
#endif //MEASURE_IO_PERFORMANCE
-#if defined DBG || defined USE_PERF_PRINT
+#if defined UDF_DBG || defined USE_PERF_PRINT
ULONG Lba = (ULONG)(Offset>>0xb);
// ASSERT(!(Lba & (32-1)));
PerfPrint(("UDFPhWrite: Length: %x Lba: %lx\n",Length>>0xb,Lba));
Modified: trunk/reactos/drivers/filesystems/udfs/fscntrl.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/udfs/f…
==============================================================================
--- trunk/reactos/drivers/filesystems/udfs/fscntrl.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/udfs/fscntrl.cpp [iso-8859-1] Sat Jun 3 21:47:53
2017
@@ -835,7 +835,7 @@
Irp->Tail.Overlay.CurrentStackLocation++;
// Now call the appropriate file system driver with the request.
- return IoCallDriver( filterDevExt->lowerFSDeviceObject, Irp );
+ RC = IoCallDriver( filterDevExt->lowerFSDeviceObject, Irp );
}
Modified: trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/udfs/u…
==============================================================================
--- trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp [iso-8859-1] (original)
+++ trunk/reactos/drivers/filesystems/udfs/udf_info/mount.cpp [iso-8859-1] Sat Jun 3
21:47:53 2017
@@ -2333,12 +2333,14 @@
int8* Buf
)
{
+#ifdef UDF_DBG
ImpUseVolDesc* iuvd = (ImpUseVolDesc*)Buf;
ImpUseVolDescImpUse* iuvdiu = (ImpUseVolDescImpUse*)&(iuvd->impUse);
UDFPrint(("UDF: Imp Use Vol Desc:\n"));
UDFPrint((" volDescSeqNum = %x\n", iuvd->volDescSeqNum));
UDFPrint(("UDF: Imp Use Vol Desc Imp Use:\n"));
KdDump(iuvdiu, sizeof(ImpUseVolDescImpUse));
+#endif
return STATUS_SUCCESS;
} // UDFLoadImpUseVolDesc()