Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 065a68f9 authored by Alex Elder's avatar Alex Elder Committed by Alex Elder
Browse files

ceph: osd_client: fix endianness bug in osd_req_encode_op()



From Al Viro <viro@zeniv.linux.org.uk>

Al Viro noticed that we were using a non-cpu-encoded value in
a switch statement in osd_req_encode_op().  The result would
clearly not work correctly on a big-endian machine.

Signed-off-by: default avatarAlex Elder <elder@dreamhost.com>
parent 8b393269
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