Rephrasing the comment

Summary: Per @haobo's request, rephrasing the comment for allocate

Test Plan: It's a comment!

Reviewers: haobo, kailiu

Reviewed By: kailiu

CC: leveldb

Differential Revision: https://reviews.facebook.net/D13575
main
Igor Canadi 11 years ago
parent 43ee5e2b3a
commit c674b42d52
  1. 4
      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_));

Loading…
Cancel
Save