From: Victor Denisov Date: Mon, 18 Dec 2017 00:15:07 +0000 (-0800) Subject: cls_rbd: initialize group state X-Git-Tag: v13.0.2~545^2~33 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c187075e92db13177a25c71dd09d8fde77dabfc0;p=ceph.git cls_rbd: initialize group state Signed-off-by: Victor Denisov --- diff --git a/src/cls/rbd/cls_rbd_types.h b/src/cls/rbd/cls_rbd_types.h index 10ffa592f0d6..5fd6e6f76403 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,