From: Alex Elder Date: Sat, 9 Mar 2013 00:51:03 +0000 (-0600) Subject: libceph: minor byte order problems in read_partial_message() X-Git-Tag: v3.10~8^2~264 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ebc8b32b327463f552d9d4499aba2ef1e02a600;p=platform%2Fupstream%2Fkernel-adaptation-pc.git libceph: minor byte order problems in read_partial_message() Some values printed are not (necessarily) in CPU order. We already have a copy of the converted versions, so use them. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index b8d0da5..d9ace97 100644 --- a/net/ceph/messenger.c +++ b/net/ceph/messenger.c @@ -1916,7 +1916,7 @@ static int read_partial_message(struct ceph_connection *con) int skip = 0; dout("got hdr type %d front %d data %d\n", con->in_hdr.type, - con->in_hdr.front_len, con->in_hdr.data_len); + front_len, data_len); ret = ceph_con_in_msg_alloc(con, &skip); if (ret < 0) return ret;