libceph: initialize msgpool message types
authorSage Weil <sage@inktank.com>
Mon, 9 Jul 2012 21:22:34 +0000 (14:22 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2012 19:38:38 +0000 (11:38 -0800)
commit9beb73fcb83317786226b4203d7e56c6b0f43adb
tree625dd1aa57201317108b56b11ae83195655d7939
parentd92d11da1dd8531150823ff429ae29a0cf5e438d
libceph: initialize msgpool message types

(cherry picked from commit d50b409fb8698571d8209e5adfe122e287e31290)

Initialize the type field for messages in a msgpool.  The caller was doing
this for osd ops, but not for the reply messages.

Reported-by: Alex Elder <elder@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/ceph/msgpool.h
net/ceph/msgpool.c
net/ceph/osd_client.c