git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3977058
)
libceph: check length of osdmap osd arrays
author
Ilya Dryomov
<ilya.dryomov@inktank.com>
Thu, 13 Mar 2014 14:36:14 +0000
(16:36 +0200)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:07:41 +0000
(21:07 -0700)
Check length of osd_state, osd_weight and osd_addr arrays. They
should all have exactly max_osd elements after the call to
osdmap_set_max_osd().
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
net/ceph/osdmap.c
patch
|
blob
|
history
diff --cc
net/ceph/osdmap.c
Simple merge