Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/bluestore: avoid nullptr in bluestore_extent_ref_map_t::bound_encode #14073

Merged
merged 1 commit into from
Mar 24, 2017

Conversation

liewegas
Copy link
Member

Signed-off-by: Sage Weil sage@redhat.com

p += elem_size * ref_map.size();
if (!ref_map.empty()) {
size_t elem_size = 0;
denc_varint_lowz((uint32_t)0, p);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/p/elem_size/,

and it should be uint64_t.

@liewegas
Copy link
Member Author

@tchaikov builds now :)

@liewegas liewegas merged commit 8275fda into ceph:master Mar 24, 2017
@liewegas liewegas deleted the wip-bluestore-nullptr branch March 24, 2017 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants