]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:04 +0000 (11:38 -0800)
commitd0d7af68e9da4d8ad24052151d5d4add6464f505
tree9125ab8794e97c647bea1f5f8cbd1bae49808555
parentf77637d9f603dd74cf1b4366d7bb1938a6715ab2
ceph: messenger: use read_partial() in read_partial_message()

(cherry picked from commit 57dac9d1620942608306d8c17c98a9d1568ffdf4)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ceph/messenger.c