From: Sage Weil Date: Mon, 7 May 2012 22:35:48 +0000 (-0700) Subject: crush: use a temporary variable to simplify crush_do_rule X-Git-Tag: v3.5-rc1~36^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0668216efe16ab1adf077e5f138775cee2af927a;p=pandora-kernel.git crush: use a temporary variable to simplify crush_do_rule Use a temporary variable here to avoid repeated array lookups and clean up the code a bit. This reflects ceph.git commit 6b5be27634ad307b471a5bf0db85c4f5c834885f. Reviewed-by: Alex Elder Signed-off-by: Sage Weil --- Reading git-diff-tree failed