[REISERFS] Do not take this code path when compiling with clang. CORE-11799 (#94)
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 19 Nov 2017 14:24:49 +0000 (15:24 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 19 Nov 2017 14:24:49 +0000 (15:24 +0100)
drivers/filesystems/reiserfs/src/read.c

index f062266..b2580e0 100644 (file)
@@ -605,7 +605,7 @@ RfsdReadFile(IN PRFSD_IRP_CONTEXT IrpContext)
         Length = IoStackLocation->Parameters.Read.Length;
         ByteOffset = IoStackLocation->Parameters.Read.ByteOffset;
         
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && !defined(__clang__)
                KdPrint(("$$$ " __FUNCTION__ " on key: %x,%xh to read %i bytes at the offset %xh in the file\n", 
                        Fcb->RfsdMcb->Key.k_dir_id, Fcb->RfsdMcb->Key.k_objectid,
                        Length, ByteOffset.QuadPart));