libceph: factor out finish_auth()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 14 Oct 2020 13:53:39 +0000 (15:53 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:50 +0000 (23:21 +0100)
commit8921f25116af3081fb56871feb93f2dcaf52c722
tree2c6ce8a00ea21169997848bd63351845e4f70d7e
parentc1c0ce78f479cf4d7dfe72c4c1cabbf0bc0730c9
libceph: factor out finish_auth()

In preparation for msgr2, factor out finish_auth() so it is suitable
for both existing MAuth message based authentication and upcoming msgr2
authentication exchange.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/mon_client.c