Whamcloud - gitweb
LU-11997 ptlrpc: Properly swab ll_fiemap_info_key 08/36308/7
authorOleg Drokin <green@whamcloud.com>
Fri, 27 Sep 2019 14:23:18 +0000 (10:23 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 18 Oct 2019 01:18:14 +0000 (01:18 +0000)
commit2b905746ee3b5d9dbafcdb1af5930aea18120a7b
tree07a8f5e4ff56265e71a2c9a2935013f3a6699f68
parent3e2e0025d1e929763f9d4de48746c3433d3684d5
LU-11997 ptlrpc: Properly swab ll_fiemap_info_key

It was using lustre_swab_fiemap which is incorrect since the
structures don't match.

Added lustre_swab_fiemap_info_key that swabs embedded
obdo and ll_fiemap_info_key structures.

Change-Id: Ie701163bd4c2072a0461b2d9485bc184c6548f8f
Test-Parameters: clientarch=ppc64 testlist=sanity,sanityn
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36308
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
lustre/include/lustre_swab.h
lustre/ptlrpc/layout.c
lustre/ptlrpc/pack_generic.c