libceph: store ceph_auth_handshake pointer in ceph_connection
authorIlya Dryomov <idryomov@gmail.com>
Thu, 26 Jul 2018 13:17:46 +0000 (15:17 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 2 Aug 2018 19:33:22 +0000 (21:33 +0200)
commit262614c4294d33b1f19e0d18c0091d9c329b544a
tree8ab80908076eb68f3996d1be19a9691ea8a82e0f
parent24e1dd6afde9e9cca405df8ca98be59419ea7229
libceph: store ceph_auth_handshake pointer in ceph_connection

We already copy authorizer_reply_buf and authorizer_reply_buf_len into
ceph_connection.  Factoring out __prepare_write_connect() requires two
more: authorizer_buf and authorizer_buf_len.  Store the pointer to the
handshake in con->auth rather than piling on.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
include/linux/ceph/messenger.h
net/ceph/messenger.c