aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIlya Dryomov <ilya.dryomov@inktank.com>2013-12-24 14:19:24 -0500
committerIlya Dryomov <ilya.dryomov@inktank.com>2013-12-31 13:32:13 -0500
commit2a4ba74ef67ad3a1645d78487ed7ccd0f40063c0 (patch)
tree982247d141e7ca8c4206fec90c81ef0b53d0a674 /net
parent8f99c85b7ad55faecaab9d29fd7d12f1601c2eea (diff)
crush: fix some comments
Reflects ceph.git commit 3cef755428761f2481b1dd0e0fbd0464ac483fc5. Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'net')
-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;