md: fix incorrect use of lexx_to_cpu in does_sb_need_changing

commit 1345921393 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jason Yan 2017-03-10 11:49:12 +08:00 • committed by Greg Kroah-Hartman
commit 9a37d02c49