crush: always return a value from crush_bucket_choose
authorSage Weil <sage@newdream.net>
Mon, 2 Nov 2009 01:53:24 +0000 (17:53 -0800)
committerSage Weil <sage@newdream.net>
Mon, 2 Nov 2009 01:53:24 +0000 (17:53 -0800)
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: Sage Weil <sage@newdream.net>

No differences found