]> 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)
commit7cc443c2372ab6d3d6f2d8ea81ff16236d37c708
tree89a3359e888aae5ac5ccdacaa30d7ddadd2314b8
parent91344a9985cf6f73d060203066eb9b5df357fa9a
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