libceph: use sizeof_footer() more
authorIlya Dryomov <idryomov@gmail.com>
Sat, 20 Feb 2016 14:56:07 +0000 (15:56 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:53 +0000 (18:51 +0100)
commit89f081730c49a1d3b46359aa0054e6b3b80f47e4
tree98ab37988e7d55b90e51fa43393ae9f7a1caf0ca
parent34b759b4a22b0acb82423389a24699357798cf3c
libceph: use sizeof_footer() more

Don't open-code sizeof_footer() in read_partial_message() and
ceph_msg_revoke().  Also, after switching to sizeof_footer(), it's now
possible to use con_out_kvec_add() in prepare_write_message_footer().

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/messenger.c