]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PrimaryLogPG: replace soid.get_head() with head
authorYan Jun <yan.jun8@zte.com.cn>
Sat, 14 Oct 2017 03:43:13 +0000 (11:43 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Sun, 15 Oct 2017 06:02:05 +0000 (14:02 +0800)
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/osd/PrimaryLogPG.cc

index a5ad36fe3a948d8f5d36879cdfb9bbda4eaf2468..640e49b2afc277e0673f41d213af1312d0b6e524 100644 (file)
@@ -10167,7 +10167,7 @@ int PrimaryLogPG::recover_missing(
       }
     }
     head_obc = get_object_context(
-      soid.get_head(),
+      head,
       false,
       0);
     assert(head_obc);