projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f99c85
)
crush: fix some comments
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Tue, 24 Dec 2013 19:19:24 +0000
(21:19 +0200)
committer
Ilya Dryomov
<ilya.dryomov@inktank.com>
Tue, 31 Dec 2013 18:32:13 +0000
(20:32 +0200)
Reflects ceph.git commit
3cef755428761f2481b1dd0e0fbd0464ac483fc5
.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
net/ceph/crush/mapper.c
patch
|
blob
|
history
diff --git
a/net/ceph/crush/mapper.c
b/net/ceph/crush/mapper.c
index 71192b1f8501e8467e4df43f5831b24ee895eda7..82cab7d3e89d61ec94a570936be56dd31b38efb0 100644
(file)
--- 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,
/* 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;