From: Bob Glossman Date: Wed, 4 May 2016 01:27:04 +0000 (-0700) Subject: LU-8094 ldlm: restore missing newlines X-Git-Tag: 2.8.54~65 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=90769a82726401035f7a9ba3dec1538632eda436;ds=sidebyside LU-8094 ldlm: restore missing newlines Recent commit f28cc2 landed for LU-7521 removed too many newlines in debug messages, leading to lots of noise in syslog. This mod puts some back in. Signed-off-by: Bob Glossman Change-Id: I4d3eb59a5db3ed548b03aa29ec036b4b2f899a86 Reviewed-on: http://review.whamcloud.com/19960 Reviewed-by: Andreas Dilger Tested-by: Jenkins Reviewed-by: Alex Zhuravlev Tested-by: Maloo Reviewed-by: John L. Hammond Reviewed-by: Oleg Drokin --- diff --git a/lustre/include/lu_object.h b/lustre/include/lu_object.h index 3a84844..bdac868 100644 --- a/lustre/include/lu_object.h +++ b/lustre/include/lu_object.h @@ -802,7 +802,7 @@ do { \ if (cfs_cdebug_show(mask, DEBUG_SUBSYSTEM)) { \ LIBCFS_DEBUG_MSG_DATA_DECL(msgdata, mask, NULL); \ lu_object_print(env, &msgdata, lu_cdebug_printer, object);\ - CDEBUG(mask, format , ## __VA_ARGS__); \ + CDEBUG(mask, format "\n", ## __VA_ARGS__); \ } \ } while (0)