projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c1037
)
libceph: use CEPH_AUTH_UNKNOWN in ceph_auth_build_hello()
author
Ilya Dryomov
<idryomov@gmail.com>
Fri, 23 Sep 2016 07:57:56 +0000
(09:57 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Mon, 3 Oct 2016 14:13:50 +0000
(16:13 +0200)
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/auth.c
patch
|
blob
|
history
diff --git
a/net/ceph/auth.c
b/net/ceph/auth.c
index 78067dda9d3cbc25ff15869374e671c9f1692897..53aa2d27e36b8e8694d57ce641a893859d4752bf 100644
(file)
--- a/
net/ceph/auth.c
+++ b/
net/ceph/auth.c
@@
-114,7
+114,7
@@
int ceph_auth_build_hello(struct ceph_auth_client *ac, void *buf, size_t len)
monhdr->session_mon = cpu_to_le16(-1);
monhdr->session_mon_tid = 0;
- ceph_encode_32(&p,
0
); /* no protocol, yet */
+ ceph_encode_32(&p,
CEPH_AUTH_UNKNOWN
); /* no protocol, yet */
lenp = p;
p += sizeof(u32);