Skip to content
Commit 1ad45a9b authored by Jason Yan's avatar Jason Yan Committed by Shaohua Li
Browse files

md/raid5-cache: fix payload endianness problem in raid5-cache



The payload->header.type and payload->size are little-endian, so just
convert them to the right byte order.

Signed-off-by: default avatarJason Yan <yanaijie@huawei.com>
Cc: <stable@vger.kernel.org> #v4.10+
Signed-off-by: default avatarShaohua Li <shli@fb.com>
parent 41743c1f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment