]> 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)
commite4f24b23cd43d07f1957e1b5239a0f6c51dd596d
tree640e5fa06bbccaf9c432cbb7b3838ad750aec5e6
parentf89b6cddd37eeaa562207d4f0807ba951f71b6fd
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