]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commited6594761ea4430422fa82cd031105768e340517
tree640e5fa06bbccaf9c432cbb7b3838ad750aec5e6
parent8e5bc10cab8c06b6228da9a2ab9d59177230a5e9
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