md: fix incorrect use of lexx_to_cpu in does_sb_need_changing
authorJason Yan <yanaijie@huawei.com>
Fri, 10 Mar 2017 03:49:12 +0000 (11:49 +0800)
committerShaohua Li <shli@fb.com>
Fri, 10 Mar 2017 20:54:38 +0000 (12:54 -0800)
commit1345921393ba23b60d3fcf15933e699232ad25ae
tree640e5fa06bbccaf9c432cbb7b3838ad750aec5e6
parent3fb632e40d7667d8bedfabc28850ac06d5493f54
md: fix incorrect use of lexx_to_cpu in does_sb_need_changing

The sb->layout is of type __le32, so we shoud use le32_to_cpu.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md.c