diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2016-09-23 03:57:56 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-10-03 10:13:50 -0400 |
commit | fdc723e77bcf17ec2646fdef031e7f135968a9b7 (patch) | |
tree | 0a6e4650967c7e4336c3c0030a2c535877846440 /net/ceph/auth.c | |
parent | 92c1037ce8e3a70b616c8b91c990caf16a0096d1 (diff) |
libceph: use CEPH_AUTH_UNKNOWN in ceph_auth_build_hello()
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/ceph/auth.c')
-rw-r--r-- | net/ceph/auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/auth.c b/net/ceph/auth.c index 78067dda9d3c..53aa2d27e36b 100644 --- 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) | |||
114 | monhdr->session_mon = cpu_to_le16(-1); | 114 | monhdr->session_mon = cpu_to_le16(-1); |
115 | monhdr->session_mon_tid = 0; | 115 | monhdr->session_mon_tid = 0; |
116 | 116 | ||
117 | ceph_encode_32(&p, 0); /* no protocol, yet */ | 117 | ceph_encode_32(&p, CEPH_AUTH_UNKNOWN); /* no protocol, yet */ |
118 | 118 | ||
119 | lenp = p; | 119 | lenp = p; |
120 | p += sizeof(u32); | 120 | p += sizeof(u32); |