Whamcloud - gitweb
LU-9802 pfl: swapping lcm_entry_count correctly 56/28256/4
authorJinshan Xiong <jinshan.xiong@intel.com>
Thu, 27 Jul 2017 16:49:42 +0000 (09:49 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Sep 2017 06:13:41 +0000 (06:13 +0000)
commit21ea1f7629535090d64ee3355c491a9e35256f23
tree06dbec614a3127223611444a66b3fffe99afb21c
parent6ac4fbf86fe8c3fbccedd7fa291d58db99eb5679
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
Signed-off-by: Jinshan Xiong <jinshan.xiong@intel.com>
Change-Id: I43c31a76d78aa294a3e3296a1bb69f4d6fb1423d
Reviewed-on: https://review.whamcloud.com/28256
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/lod/lod_lov.c
lustre/mdt/mdt_open.c