Skip to content

Commit

Permalink
os/bluestore/BlueStore.cc:remove unuse code in _open_bdev()
Browse files Browse the repository at this point in the history
Signed-off-by: yonghengdexin735 <[email protected]>
  • Loading branch information
yonghengdexin735 committed Feb 21, 2017
1 parent a4fcdb6 commit 686f5eb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/os/bluestore/BlueStore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3617,7 +3617,6 @@ void BlueStore::_set_alloc_sizes(void)

int BlueStore::_open_bdev(bool create)
{
bluestore_bdev_label_t label;
assert(bdev == NULL);
string p = path + "/block";
bdev = BlockDevice::create(cct, p, aio_cb, static_cast<void*>(this));
Expand Down

0 comments on commit 686f5eb

Please sign in to comment.