]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
messages/MCommand: fix type on decode
authorSage Weil <sage@redhat.com>
Fri, 5 May 2017 20:48:25 +0000 (16:48 -0400)
committerSage Weil <sage@redhat.com>
Fri, 5 May 2017 22:00:57 +0000 (18:00 -0400)
commitd97154e61bb615faf566a42a878b2e7a303d99ae
tree33175e49ee60dd8ff78aa2461f63d09347869863
parentb05fa6cd2ff07349d6cc76be0732e627f0290308
messages/MCommand: fix type on decode

Wow, this has been broken since v0.38, but apparently
the message never made it into the object corpus so
we never noticed!

In reality the bug is harmless: decode_message() will
set_header which clobbers whatever version the default
ctor fills in, so this only affects ceph-dencoder's
test.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 3018b907c1d0375b5ae20802811591c0a46b61be)
src/messages/MCommand.h