Whamcloud - gitweb
LU-9802 pfl: swapping lcm_entry_count correctly 41/29141/2
authorJinshan Xiong <jinshan.xiong@intel.com>
Thu, 27 Jul 2017 16:49:42 +0000 (09:49 -0700)
committerJohn L. Hammond <john.hammond@intel.com>
Wed, 25 Oct 2017 21:51:28 +0000 (21:51 +0000)
commit7a54120a4779f2c88c48465d65bfb4610f22940a
treea1eeafe09dce44ddac4e146b86b9377754ced76c
parent9dd5df9b37092739e6f61a29dc7090c93a9b53eb
LU-9802 pfl: swapping lcm_entry_count correctly

It's a u16 integer so it should use le16_to_cpu() instead of
le32_to_cpu().

Test-Parameters: trivial

Lustre-change: https://review.whamcloud.com/28256
Lustre-commit: 21ea1f7629535090d64ee3355c491a9e35256f23

Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I43c31a76d78aa294a3e3296a1bb69f4d6fb1423d
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29141
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/lod/lod_lov.c
lustre/mdt/mdt_open.c