Skip to content

Commit

Permalink
Merge pull request ceph#10728 from xiexingguo/xxg-wip-kill-bs-warn
Browse files Browse the repository at this point in the history
bluestore: initialize csum_order properly

Reviewed-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas authored Aug 17, 2016
2 parents f7ae584 + 7091268 commit 2634bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/os/bluestore/BlueStore.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6142,7 +6142,7 @@ int BlueStore::_do_alloc_write(
bufferlist *l = &wi.bl;
uint64_t final_length = wi.blob_length;
uint64_t csum_length = wi.blob_length;
unsigned csum_order;
unsigned csum_order = block_size_order;
bufferlist compressed_bl;
CompressorRef c;
bool compressed = false;
Expand Down

0 comments on commit 2634bcf

Please sign in to comment.