Whamcloud - gitweb
LU-8094 ldlm: restore missing newlines 60/19960/2
authorBob Glossman <bob.glossman@intel.com>
Wed, 4 May 2016 01:27:04 +0000 (18:27 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 May 2016 16:37:41 +0000 (16:37 +0000)
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 <bob.glossman@intel.com>
Change-Id: I4d3eb59a5db3ed548b03aa29ec036b4b2f899a86
Reviewed-on: http://review.whamcloud.com/19960
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lu_object.h

index 3a84844..bdac868 100644 (file)
@@ -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)