]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: fix build error
authorSage Weil <sage@redhat.com>
Thu, 6 Oct 2016 15:17:01 +0000 (11:17 -0400)
committerSage Weil <sage@redhat.com>
Thu, 6 Oct 2016 15:17:01 +0000 (11:17 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/os/bluestore/BlueStore.cc
src/os/bluestore/BlueStore.h

index e3a8ff13320cbf2d9354b83a433668f8ca8e8036..3b9ff70efd10d8c6eefd1a43350457d83952b66c 100644 (file)
@@ -1111,7 +1111,7 @@ void BlueStore::BufferSpace::split(size_t pos, BlueStore::BufferSpace &r)
       _rm_buffer(p++);
     }
   }
-  assert(writing_map.empty());
+  assert(writing.empty());
 }
 
 // OnodeSpace
index 3b7bbb22bf487b122042a310406fd2835859ef46..1e4c2564aac18cf94b9547e70fe16b782ed46c95 100644 (file)
@@ -435,8 +435,8 @@ public:
     }
 
     bool can_split() const {
-      // splitting a BufferSpace writing_map is too hard; don't try.
-      return shared_blob->bc.writing_map.empty() && get_blob().can_split();
+      // splitting a BufferSpace writing list is too hard; don't try.
+      return shared_blob->bc.writing.empty() && get_blob().can_split();
     }
 
     void dup(Blob& o) {