https://git.reactos.org/?p=reactos.git;a=commitdiff;h=06b0cc74c5e44c143b69c…
commit 06b0cc74c5e44c143b69cf36cf20afafb9e02227
Author: Amine Khaldi <amine.khaldi(a)reactos.org>
AuthorDate: Sun Nov 19 15:24:49 2017 +0100
[REISERFS] Do not take this code path when compiling with clang. CORE-11799 (#94)
---
drivers/filesystems/reiserfs/src/read.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/filesystems/reiserfs/src/read.c
b/drivers/filesystems/reiserfs/src/read.c
index f0622669d5..b2580e096e 100644
--- a/drivers/filesystems/reiserfs/src/read.c
+++ b/drivers/filesystems/reiserfs/src/read.c
@@ -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));