summaryrefslogtreecommitdiffstats
path: root/net/ceph/osdmap.c
diff options
context:
space:
mode:
authorSage Weil2012-05-08 00:35:48 +0200
committerSage Weil2012-05-08 00:38:51 +0200
commit0668216efe16ab1adf077e5f138775cee2af927a (patch)
tree9839f651cb90f22e50ddc585098105e8028497e0 /net/ceph/osdmap.c
parentcrush: be more tolerant of nonsensical crush maps (diff)
downloadkernel-qcow2-linux-0668216efe16ab1adf077e5f138775cee2af927a.tar.gz
kernel-qcow2-linux-0668216efe16ab1adf077e5f138775cee2af927a.tar.xz
kernel-qcow2-linux-0668216efe16ab1adf077e5f138775cee2af927a.zip
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>
Diffstat (limited to 'net/ceph/osdmap.c')
0 files changed, 0 insertions, 0 deletions