libceph: don't call encode_request_finish() on MOSDBackoff messages
authorIlya Dryomov <idryomov@gmail.com>
Fri, 14 Jul 2017 14:08:54 +0000 (16:08 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 17 Jul 2017 12:54:59 +0000 (14:54 +0200)
commit914902af4f271884968f72c4fa144c723be2a699
tree88abf861e628a05a173783099227ab5517d95789
parentf5cc6898650210a90669437d2d9a3fd564ff7d88
libceph: don't call encode_request_finish() on MOSDBackoff messages

encode_request_finish() is for MOSDOp messages.  Calling it on
MOSDBackoff ack-block messages corrupts them.

Fixes: a02a946dfe96 ("libceph: respect RADOS_BACKOFF backoffs")
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
net/ceph/osd_client.c