From 222a5e6f132ea150cc1d360615ebb346d1ce3e40 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 1 Sep 2017 13:34:31 -0400 Subject: [PATCH] osd/osd_types: default head_exists = true This will be helpful as we start removing code that would otherwise set this to true in some convoluted way. Signed-off-by: Sage Weil --- src/osd/osd_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 1ec5e52ea93c..77e85ba8156a 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -4452,7 +4452,7 @@ struct SnapSet { map clone_size; map> clone_snaps; // descending - SnapSet() : seq(0), head_exists(false) {} + SnapSet() : seq(0), head_exists(true) {} explicit SnapSet(bufferlist& bl) { bufferlist::iterator p = bl.begin(); decode(p); -- 2.47.3