From c187075e92db13177a25c71dd09d8fde77dabfc0 Mon Sep 17 00:00:00 2001 From: Victor Denisov Date: Sun, 17 Dec 2017 16:15:07 -0800 Subject: [PATCH] cls_rbd: initialize group state Signed-off-by: Victor Denisov --- src/cls/rbd/cls_rbd_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cls/rbd/cls_rbd_types.h b/src/cls/rbd/cls_rbd_types.h index 10ffa592f0d66..5fd6e6f764039 100644 --- a/src/cls/rbd/cls_rbd_types.h +++ b/src/cls/rbd/cls_rbd_types.h @@ -379,7 +379,7 @@ WRITE_CLASS_ENCODER(ImageSnapshotSpec); struct GroupSnapshot { std::string id; std::string name; - GroupSnapshotState state; + GroupSnapshotState state = GROUP_SNAPSHOT_STATE_INCOMPLETE; GroupSnapshot() {} GroupSnapshot(std::string _id, -- 2.39.5