From: Sage Weil Date: Mon, 2 Nov 2009 01:53:24 +0000 (-0800) Subject: crush: always return a value from crush_bucket_choose X-Git-Tag: v2.6.34-rc2~9^2~145 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33aa96e7430d215e2ee779f65cdad0f6d4571fe1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed