mds: fix uninit MMDSSlaveRequest lock_type

Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
Sage Weil 2014-04-06 17:36:38 -07:00
parent 2f7522c83a
commit 76cbd5dd82

View File

@ -141,7 +141,7 @@ public:
MMDSSlaveRequest() : Message(MSG_MDS_SLAVE_REQUEST) { }
MMDSSlaveRequest(metareqid_t ri, __u32 att, int o) :
Message(MSG_MDS_SLAVE_REQUEST),
reqid(ri), attempt(att), op(o), flags(0) { }
reqid(ri), attempt(att), op(o), flags(0), lock_type(0) { }
private:
~MMDSSlaveRequest() {}