libceph: factor out ceph_con_get_out_msg()
authorIlya Dryomov <idryomov@gmail.com>
Wed, 18 Nov 2020 15:37:14 +0000 (16:37 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:49 +0000 (23:21 +0100)
commit771294fe0724d92157048650f3585e7be606d0f8
tree777cf2905c10b7518530b4b3ae25c6324448abf4
parentfc4c128e15b50c73466dcd7234dde02f6fd9e4f8
libceph: factor out ceph_con_get_out_msg()

Move the logic of grabbing the next message from the queue into its own
function.  Like ceph_con_in_msg_alloc(), this is protocol independent.

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