summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-08-11 14:19:17 -0700
committerSage Weil <sage@inktank.com>2013-08-11 14:26:52 -0700
commit429d599b1d900537537d7a22fc0ab22507d918d8 (patch)
treefcb60979baaf29a2536c08f18687eba683986953
parentf41f8b472ec74d5d749b34c7a733bbd7eba27362 (diff)
downloadceph-429d599b1d900537537d7a22fc0ab22507d918d8.tar.gz
crush: fix comment
Signed-off-by: Sage Weil <sage@inktank.com>
-rw-r--r--src/crush/mapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crush/mapper.c b/src/crush/mapper.c
index 3215564172a..ce23ef7c711 100644
--- a/src/crush/mapper.c
+++ b/src/crush/mapper.c
@@ -562,7 +562,7 @@ int crush_do_rule(const struct crush_map *map,
/* copy final _leaf_ values to output set */
memcpy(o, c, osize*sizeof(*o));
- /* swap t and w arrays */
+ /* swap o and w arrays */
tmp = o;
o = w;
w = tmp;