Merge PR #17054 into master

* refs/remotes/upstream/pull/17054/head:
	mds: Initializing uninitiazed members SnapServer

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Patrick Donnelly 2017-08-23 06:49:10 -07:00
commit 8e6e3c68fc
No known key found for this signature in database
GPG Key ID: 3A2A7E25BEA8AADB

View File

@ -23,7 +23,7 @@ class MonClient;
class SnapServer : public MDSTableServer {
protected:
MonClient *mon_client;
MonClient *mon_client = nullptr;
snapid_t last_snap;
map<snapid_t, SnapInfo> snaps;
map<int, set<snapid_t> > need_to_purge;