commit | 0668216efe16ab1adf077e5f138775cee2af927a | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Mon May 07 15:35:48 2012 -0700 |
committer | Sage Weil <sage@inktank.com> | Mon May 07 15:38:51 2012 -0700 |
tree | 9839f651cb90f22e50ddc585098105e8028497e0 | |
parent | a1f4895be8bf1ba56c2306b058f51619e9b0e8f8 [diff] |
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 <elder@inktank.com> Signed-off-by: Sage Weil <sage@inktank.com>