From: Ilya Dryomov Date: Fri, 23 Sep 2016 07:57:56 +0000 (+0200) Subject: libceph: use CEPH_AUTH_UNKNOWN in ceph_auth_build_hello() X-Git-Tag: v4.9-rc1~55^2~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fdc723e77bcf17ec2646fdef031e7f135968a9b7;p=linux.git libceph: use CEPH_AUTH_UNKNOWN in ceph_auth_build_hello() Signed-off-by: Ilya Dryomov --- 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) 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);