diff options
author | Jason Yan <yanaijie@huawei.com> | 2017-03-10 11:27:23 +0800 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-03-10 12:54:37 -0800 |
commit | 3fb632e40d7667d8bedfabc28850ac06d5493f54 (patch) | |
tree | ed78f6f9076799bf9d9c3ba1726512b3a75ba115 /fs/nfs/mount_clnt.c | |
parent | 61eb2b43b99ebdc9bc6bc83d9792257b243e7cb3 (diff) | |
download | linux-3fb632e40d7667d8bedfabc28850ac06d5493f54.tar.bz2 |
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 'fs/nfs/mount_clnt.c')
0 files changed, 0 insertions, 0 deletions