diff --git a/util/blob_store.cc b/util/blob_store.cc index 168a6d74a777e4c63c74092bc2b9d15a72dd13e9..d082c41899abf1042a0ec87892d2c99fba929d19 100644 --- a/util/blob_store.cc +++ b/util/blob_store.cc @@ -287,7 +287,9 @@ Status BlobStore::CreateNewBucket() { return s; } - // tmpfs does not support allocate + // whether Allocate succeeds or not, does not affect the overall correctness + // of this function - calling Allocate is really optional + // (also, tmpfs does not support allocate) buckets_[new_bucket_id].get()->Allocate(0, block_size_ * blocks_per_bucket_); return free_list_.Free(Blob(new_bucket_id, 0, blocks_per_bucket_));