]> git.baikalelectronics.ru Git - kernel.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)
committerAlex Elder <elder@dreamhost.com>
Mon, 14 May 2012 17:16:41 +0000 (12:16 -0500)
commitfb6b373c86258e1310a21be725d45401f8f78f8a
tree89a3359e888aae5ac5ccdacaa30d7ddadd2314b8
parent37e8bdc2fa3480585b94eee1dbdf654a02a2c240
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