From 06b0cc74c5e44c143b69cf36cf20afafb9e02227 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sun, 19 Nov 2017 15:24:49 +0100 Subject: [PATCH] [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 f0622669d52..b2580e096e1 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));