projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b11ba3
)
libceph: minor byte order problems in read_partial_message()
author
Alex Elder
<elder@inktank.com>
Sat, 9 Mar 2013 00:51:03 +0000
(18:51 -0600)
committer
Sage Weil
<sage@inktank.com>
Thu, 2 May 2013 04:16:30 +0000
(21:16 -0700)
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>
net/ceph/messenger.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ceph/messenger.c
b/net/ceph/messenger.c
index b8d0da56d610077566bfb4979620dc889222a168..d9ace979adef369026c0c57375aab00e44684efe 100644
(file)
--- 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;