aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-path-selector.h
diff options
context:
space:
mode:
authorJason Yan <yanaijie@huawei.com>2017-03-10 11:27:23 +0800
committerShaohua Li <shli@fb.com>2017-03-10 12:54:37 -0800
commit3fb632e40d7667d8bedfabc28850ac06d5493f54 (patch)
treeed78f6f9076799bf9d9c3ba1726512b3a75ba115 /drivers/md/dm-path-selector.h
parentmd/raid1/10: fix potential deadlock (diff)
downloadlinux-dev-3fb632e40d7667d8bedfabc28850ac06d5493f54.tar.xz
linux-dev-3fb632e40d7667d8bedfabc28850ac06d5493f54.zip
md: fix super_offset endianness in super_1_rdev_size_change
The sb->super_offset should be big-endian, but the rdev->sb_start is in host byte order, so fix this by adding cpu_to_le64. Signed-off-by: Jason Yan <yanaijie@huawei.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/dm-path-selector.h')
0 files changed, 0 insertions, 0 deletions