Skip to content

Commit

Permalink
os/bluestore: drop redundant call of get_blob
Browse files Browse the repository at this point in the history
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
  • Loading branch information
xiexingguo committed Sep 30, 2016
1 parent 76e120c commit a2aaf2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/os/bluestore/BlueStore.cc
Expand Up @@ -1228,7 +1228,6 @@ ostream& operator<<(ostream& out, const BlueStore::Blob& b)

void BlueStore::Blob::discard_unallocated()
{
get_blob();
size_t pos = 0;
if (blob.is_compressed()) {
bool discard = false;
Expand Down

0 comments on commit a2aaf2b

Please sign in to comment.