]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: fix uninitialized value
authormyoungwon oh <ohmyoungwon@gmail.com>
Sat, 31 Oct 2020 05:54:53 +0000 (14:54 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Sat, 31 Oct 2020 05:54:53 +0000 (14:54 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsumg.com>
src/osd/PrimaryLogPG.cc

index cba34cbb420dafd73d34f2c9b4a6abd2acb85ce4..b7d99bee7f65567cc05dc6c7f94e2daef621e950 100644 (file)
@@ -9991,7 +9991,7 @@ struct C_SetDedupChunks : public Context {
   
   C_SetDedupChunks(PrimaryLogPG *p, hobject_t o, epoch_t lpr)
     : pg(p), oid(o), last_peering_reset(lpr),
-      tid(0)
+      tid(0), offset(0)
   {}
   void finish(int r) override {
     if (r == -ECANCELED)