]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
bluestore: fix is_allocated() method of bluestore_blob_t
authorxie xingguo <xie.xingguo@zte.com.cn>
Sat, 4 Jun 2016 10:53:58 +0000 (18:53 +0800)
committerSage Weil <sage@redhat.com>
Mon, 6 Jun 2016 13:10:49 +0000 (09:10 -0400)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/os/bluestore/bluestore_types.h

index 336e03507c9b6ebb0fd7bb663f78bbe0ba6ab221..a4ce8cb8ea7884fa73419754505758d65453018d 100644 (file)
@@ -337,6 +337,7 @@ struct bluestore_blob_t {
        return true;
       }
       b_len -= p->length;
+      ++p;
     }
     assert(0 == "we should not get here");
   }