Whamcloud - gitweb
LU-2590 lod: magic changed after swab
authorBobi Jam <bobijam.xu@intel.com>
Fri, 11 Jan 2013 04:08:30 +0000 (12:08 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 26 Jan 2013 03:25:23 +0000 (22:25 -0500)
commit9fa85c69c9e582874f52473e2612407a82319cb6
tree49425777b27929c2bd3432fbe3da830fd25f04c9
parent49c61548c35d67f34120fd64916a55fd20a6ab68
LU-2590 lod: magic changed after swab

In lod_qos_parse_config(), the stack magic variable should be changed
to native endianness as well.

Signed-off-by: Bobi Jam <bobijam.xu@intel.com>
Change-Id: I940c40f20f1ec55d7b55eeffe8d61404a1badfdb
Reviewed-on: http://review.whamcloud.com/4996
Tested-by: Hudson
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/lod/lod_qos.c