ceph: messenger: use read_partial() in read_partial_message()
authorAlex Elder <elder@inktank.com>
Thu, 10 May 2012 15:29:50 +0000 (10:29 -0500)
committerAlex Elder <elder@dreamhost.com>
Mon, 14 May 2012 17:16:41 +0000 (12:16 -0500)
commit57dac9d1620942608306d8c17c98a9d1568ffdf4
tree89a3359e888aae5ac5ccdacaa30d7ddadd2314b8
parentb7f6519e6bc7a0c5a9e3eadc8a2c79c0d4556050
ceph: messenger: use read_partial() in read_partial_message()

There are two blocks of code in read_partial_message()--those that
read the header and footer of the message--that can be replaced by a
call to read_partial().  Do that.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/messenger.c