libceph: factor out __prepare_write_connect()
authorIlya Dryomov <idryomov@gmail.com>
Thu, 26 Jul 2018 15:43:47 +0000 (17:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Dec 2018 12:05:09 +0000 (13:05 +0100)
commit2617cd5743c6d6207de26e51b95c3fcb171ff70e
tree952101d33ac187680a18d394756af578f017ba90
parent08115452f865b39c9ecbd468201f606ff5434619
libceph: factor out __prepare_write_connect()

commit c0f56b483aa09c99bfe97409a43ad786f33b8a5a upstream.

Will be used for sending ceph_msg_connect with an updated authorizer,
after the server challenges the initial authorizer.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/messenger.c