From: Samuel Just Date: Fri, 21 Feb 2014 17:33:05 +0000 (-0800) Subject: ECUtil: clear() should reset hashes to -1, not 0 X-Git-Tag: v0.78~131^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ab4c9a67dfd186184b5c28cf64236c42dc06e158;p=ceph.git ECUtil: clear() should reset hashes to -1, not 0 Signed-off-by: Samuel Just --- diff --git a/src/osd/ECUtil.h b/src/osd/ECUtil.h index 8c4e8cb9c34c..52d79aab5d97 100644 --- a/src/osd/ECUtil.h +++ b/src/osd/ECUtil.h @@ -130,7 +130,7 @@ public: total_chunk_size = 0; cumulative_shard_hashes = vector( cumulative_shard_hashes.size(), - 0); + -1); } void encode(bufferlist &bl) const; void decode(bufferlist::iterator &bl);