staging/lustre/lov: convert magic to host-endian in lov_dump_lmm()
authorJohn L. Hammond <john.hammond@intel.com>
Thu, 14 Nov 2013 16:13:18 +0000 (00:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Nov 2013 04:23:04 +0000 (13:23 +0900)
commitf3b2734f4bcc0093f1e7b49d658ae8353c86d32d
tree2aa7cc81ea39d0d2b6e64e35c611dca99e233bac
parent2a0f0eacd7d75e8fa79d642aa85bcf7c681187a7
staging/lustre/lov: convert magic to host-endian in lov_dump_lmm()

In lov_dump_lmm(), convert the lmm_magic from little-endian to
host-endian byte order before the switch statement, as the other
lov_dump_xxx() and lov_verify_xxx() functions already do.  Remove the
unused macro LMM_ASSERT().

Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3297
Lustre-change: http://review.whamcloud.com/6290
Signed-off-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Li Wei <wei.g.li@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Peng Tao <bergwolf@gmail.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_pack.c