commit | 33aa96e7430d215e2ee779f65cdad0f6d4571fe1 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Sun Nov 01 17:53:24 2009 -0800 |
committer | Sage Weil <sage@newdream.net> | Sun Nov 01 17:53:24 2009 -0800 |
tree | 00309ddde7506b0c2a86a20f5b579a60623005ab | |
parent | 63ff78b25c4b204075b5b98afcac6ad3639d43fe [diff] |
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: Sage Weil <sage@newdream.net>