diff options
author | Jason Yan <yanaijie@huawei.com> | 2017-03-10 11:27:23 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-15 11:57:49 +0200 |
commit | ff62c63109d9a10fa9cb34bcf933fc2ce89dfdaa (patch) | |
tree | 037f73362773c06382d3780882e46c870d53d680 /net/ipv4/tcp_input.c | |
parent | e20894aad9e875e4aec2c73e7badcd440f02cde4 (diff) |
md: fix super_offset endianness in super_1_rdev_size_change
commit 3fb632e40d7667d8bedfabc28850ac06d5493f54 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions