Whamcloud - gitweb
LU-11997 ptlrpc: Properly swab ll_fiemap_info_key 81/36481/5
authorOleg Drokin <green@whamcloud.com>
Fri, 27 Sep 2019 14:23:18 +0000 (10:23 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 12 Dec 2019 23:06:33 +0000 (23:06 +0000)
commit6b8ea93881682346bfc201b0859f95ef26e89163
tree68d43b6470eedd3ee8ef47d187e978b84c00cfc5
parentb66efa7d500f94d755f318d43804f0f3eb883835
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.

Lustre-change: https://review.whamcloud.com/36308
Lustre-commit: 2b905746ee3b5d9dbafcdb1af5930aea18120a7b

Change-Id: Ie701163bd4c2072a0461b2d9485bc184c6548f8f
Signed-off-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/36481
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre_swab.h
lustre/ptlrpc/layout.c
lustre/ptlrpc/pack_generic.c