Whamcloud - gitweb
LU-12811 ptlrpc: do some cleanups in swabber_dumper_helper() 48/36848/6
authorEmoly Liu <emoly@whamcloud.com>
Wed, 26 Feb 2020 08:00:17 +0000 (16:00 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 17 Mar 2020 03:39:40 +0000 (03:39 +0000)
commit4b1ba33d7ab5f122e02b1cf8da4285b2ba798613
treec14d16d73d70a746400cd7af4900ca280e989a72
parentcc058b253ac7987a8350880e1c34a39cdf0625e8
LU-12811 ptlrpc: do some cleanups in swabber_dumper_helper()

This patch combines the process of dump/swab/dump calls for both
array and non-array cases in function swabber_dumper_helper(),
also does some code cleanups.

Signed-off-by: Emoly Liu <emoly@whamcloud.com>
Change-Id: Iccd487999ad998068b4fae6a614bad3b17737d07
Reviewed-on: https://review.whamcloud.com/36848
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
lustre/ptlrpc/layout.c