mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
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 <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
This commit is contained in:
parent
7b11ba3758
commit
6ebc8b32b3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user