]> git.baikalelectronics.ru Git - kernel.git/commit
staging: lustre: obd: add newline for dumped config record
authorAmir Shehata <amir.shehata@intel.com>
Thu, 28 Apr 2016 01:37:11 +0000 (21:37 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 04:53:18 +0000 (21:53 -0700)
commit8893a16ff9f0860406a83d20819291cee591e253
tree67b66bfd51d6fe20e00a2104d3d426dbaa4a0bdf
parent7b6244a32353fb155c4e98c0b792210c4629e277
staging: lustre: obd: add newline for dumped config record

The function class_config_parse_rec() parses the llog record
and places it into a buffer to be returned. That buffer needs
to end with a newline which is currently missing.

Signed-off-by: Amir Shehata <amir.shehata@intel.com>
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-2149
Reviewed-on: http://review.whamcloud.com/4254
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/obd_config.c