Skip to content
Commit b28813a6 authored by Sage Weil's avatar Sage Weil
Browse files

ceph: gracefully avoid empty crush buckets



This avoids a divide by zero when the input and/or map are
malformed.

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent b195befd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment