aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ceph/crush/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/crush/mapper.c b/net/ceph/crush/mapper.c
index 71192b1f8501..82cab7d3e89d 100644
--- a/net/ceph/crush/mapper.c
+++ b/net/ceph/crush/mapper.c
@@ -565,7 +565,7 @@ int crush_do_rule(const struct crush_map *map,
565 /* copy final _leaf_ values to output set */ 565 /* copy final _leaf_ values to output set */
566 memcpy(o, c, osize*sizeof(*o)); 566 memcpy(o, c, osize*sizeof(*o));
567 567
568 /* swap t and w arrays */ 568 /* swap o and w arrays */
569 tmp = o; 569 tmp = o;
570 o = w; 570 o = w;
571 w = tmp; 571 w = tmp;