staging: lustre: debug: initialize debug_msg_data if needed
authorOleg Drokin <green@linuxhacker.ru>
Thu, 28 Apr 2016 16:07:31 +0000 (12:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:55:26 +0000 (21:55 -0700)
commit83e8d02ce7a72bd2710b94edc005474066588d2a
tree29eeb88c10c724e79ec2f306863e32a3cd3839e7
parent1b3f4f90c4fe0205e10d0d703ee599f726cd96b6
staging: lustre: debug: initialize debug_msg_data if needed

initialize the libcfs_debug_msg_data only if needed

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-1408
Reviewed-on: http://review.whamcloud.com/8338
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/include/cl_object.h
drivers/staging/lustre/lustre/include/lu_object.h