]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: copy the RecoveryCtx::handle when creating a new RecoveryCtx instance from anoth... 5413/head
authorGuang G Yang <yguang@renownedground.corp.gq1.yahoo.com>
Wed, 29 Jul 2015 21:47:17 +0000 (21:47 +0000)
committerGuang G Yang <yguang@renownedground.corp.gq1.yahoo.com>
Wed, 29 Jul 2015 21:47:17 +0000 (21:47 +0000)
Fixes: 12523
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
src/osd/PG.h

index 6c089b316f72cf7a5466710b04600a052bf5c55b..39d48a1f657587b1299ee07f8626379584d42d1f 100644 (file)
@@ -556,7 +556,7 @@ public:
        on_applied(rctx.on_applied),
        on_safe(rctx.on_safe),
        transaction(rctx.transaction),
-        handle(NULL) {}
+        handle(rctx.handle) {}
 
     void accept_buffered_messages(BufferedRecoveryMessages &m) {
       assert(query_map);