From: Alex Elder Date: Fri, 20 Apr 2012 20:49:43 +0000 (-0500) Subject: ceph: osd_client: fix endianness bug in osd_req_encode_op() X-Git-Tag: v3.5-rc1~36^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=065a68f9167e20f321a62d044cb2c3024393d455;p=pandora-kernel.git ceph: osd_client: fix endianness bug in osd_req_encode_op() From Al Viro 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: Alex Elder --- Reading git-diff-tree failed