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

crush: always return a value from crush_bucket_choose



Even when we encounter a corrupt bucket.  We still BUG().  This fixes
the warning

fs/ceph/crush/mapper.c: In function 'crush_choose':
fs/ceph/crush/mapper.c:352: warning: control may reach end of non-void function
'crush_bucket_choose' being inlined

Signed-off-by: default avatarSage Weil <sage@newdream.net>
parent 63ff78b2
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