Skip to content

Commit

Permalink
MDCache.h: init 'umaster::safe' in constructor
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <[email protected]>
  • Loading branch information
dalgaaf committed Jun 23, 2014
1 parent 2210ee3 commit da03e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mds/MDCache.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ class MDCache {
bool safe;
bool committing;
bool recovering;
umaster() : committing(false), recovering(false) {}
umaster() : safe(false), committing(false), recovering(false) {}
};
map<metareqid_t, umaster> uncommitted_masters; // master: req -> slave set

Expand Down

0 comments on commit da03e9e

Please sign in to comment.